View source: R/glmnetpostsurv.R
glmnetsurvdata | R Documentation |
Prepare data for glmnet model
glmnetsurvdata( formula = formula(data), data = sys.parent(), contrasts.arg = NULL, xlevs = NULL, na.action = na.omit )
formula |
Object of class formula describing
the model. The response and terms are specified
similar to |
data |
optional data frame containing variables specified in the formula. |
contrasts.arg |
an optional list. See
the contrasts.arg of
|
xlevs |
a named list of character vectors
giving the full set of levels to be assumed
for each factor. See |
na.action |
a function which indicates
what should happen when the data contain NAs.
See |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.