This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in cvr.glmnet(): formal argument "x" matched by multiple actual arguments

Hi,

I'm trying to run repeated 10-fold cross validation in LASSO to select the correct lambda for the model. When running 10-fold cross validation with the cv.glmnet(), it generates a model with no problem, but when running the repeated cross validation with cvr.glmnet(), from the ipflasso package, it generates this problem:

Error in cv.glmnet(x = X, y = Y, family = family, standardize = standardize, : formal argument "x" matched by multiple actual arguments

X here is the matrix of TPM counts, with 33 rows and 50 columns (since I have 33 different samples and 50 genes).

I don't know exactly what is this problem and why it only happens with repeated cross validation, could you help me on this?

Thanks,

Lluc

lasso glmnet r ipflasso

0 answers

No answers yet.

Log in to answer this question.