Skip to content

Error in FUN(newX[, i], ...) : invalid 'type' (character) of argument #30

@CharlesARoy

Description

@CharlesARoy

I recently ran Tune_ConQuR() on a smaller dataset as follows:

result_tuned = Tune_ConQuR(
       tax_tab=Sample_Data_real,
       batchid=batchid,
       covariates=covar,
       batch_ref_pool=c("0", "1", "2", "3"),
       logistic_lasso_pool=c(T, F),
       quantile_type_pool=c("standard", "lasso", "composite"),
       simple_match_pool=c(T, F),
       lambda_quantile_pool=c(NA, "2p/n", "2p/logn"),
       interplt_pool=c(T, F),
       frequencyL=0,
       frequencyU=1,
       cutoff = 0.1,
       delta = 0.4999,
       taus = seq(0.005, 0.995, by = 0.005),
       num_core = 10
     )

After running for a couple of hours, the following error was printed to the terminal:

Error in FUN(newX[, i], ...) : invalid 'type' (character) of argument
In addition: There were 50 or more warnings (use warnings() to see the first 50)

I can provide a copy of the dataset for debugging when you are next available to work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions