Error in cvr.glmnet(): formal argument "x" matched by multiple actual arguments
0
0
Entering edit mode
3.5 years ago
lluc.cabus ▴ 20

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 • 982 views
ADD COMMENT

Login before adding your answer.

Traffic: 1553 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6