Description Usage
ncvsurv2 is a modified function of ncvsurv (to resolve the bug from lamNames)
ncvsurv2
1 2 3 4 5
ncvsurv2(X, y, penalty = c("MCP", "SCAD", "lasso"), gamma = switch(penalty, SCAD = 3.7, 3), alpha = 1, lambda.min = ifelse(n > p, 0.001, 0.05), nlambda = 100, lambda, eps = 1e-04, max.iter = 10000, convex = TRUE, dfmax = p, penalty.factor = rep(1, ncol(X)), warn = TRUE, returnX = FALSE, ...)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.