Thank you for developing such a useful R package for Compositional Data Analysis.I've discovered that if I run impCoda with method='classical', I get the following error: "Error in is.data.frame(x) : 'list' object cannot be coerced to type 'double' ".
Here is my SessionInfo and some sample code that generates the error. I'm using the latest version of robCompositions from CRAN.
library(robCompositions)
data(expenditures)
x <- expenditures
x[1,3]
x[1,3] <- NA
X1 <- impCoda(x, method = 'classical')
# Error in is.data.frame(x) :
# 'list' object cannot be coerced to type 'double'
Sorry, method impPCA is deprecated (which was internally called when selecting method classical. Is now explicitly mentioned (in the github version of the package).
Thanks for reporting this.
Hello,
Thank you for developing such a useful R package for Compositional Data Analysis.I've discovered that if I run impCoda with method='classical', I get the following error: "Error in is.data.frame(x) : 'list' object cannot be coerced to type 'double' ".
Here is my SessionInfo and some sample code that generates the error. I'm using the latest version of robCompositions from CRAN.