matthias-da / robCompositions

Robust Methods for Compositional Data
11 stars 8 forks source link

Could not find function "isomLRInvp" #19

Closed NamLQ closed 1 year ago

NamLQ commented 1 year ago

Hi,

I use the imputeBDLs function for the imputation of rounded zeros:

phylum_impute = imputeBDLs(
    phylum, method='lmrob', 
    dl = rep(1, ncol(phylum)),
    verbose=TRUE, 
    test = TRUE)

This is the output:

number of variables with zeros:
 2
 cross validation to estimate number of predictors
  |================================================================================================| 100%

 start the iteration:
 iteration 1 ; criteria = 1e+08
 replacement on (sorted) part 1Error in isomLRInvp(xilr) : could not find function "isomLRInvp"

I am using Ubuntu 22.04.

Please help me fix that!

matthias-da commented 1 year ago

Set test to default (FALSE)

phylum_impute = imputeBDLs(
    phylum, method='lmrob', 
    dl = rep(1, ncol(phylum)),
    verbose=TRUE, 
    test = FALSE)
NamLQ commented 1 year ago

It works. Thanks!