Description Usage Arguments Value Examples
View source: R/test_model_glmnet.R
Predicting new data using trained glmnet model
1 | test_model_glmnet(model, new_data, type = "response", ...)
|
model |
trained model. |
new_data |
new expression data. |
type |
Type of prediction needed. see ?predict.glmnet |
... |
pass to predict. see ?predict.glmnet |
Generates prediction.
1 | pred <- test_model_glmnet(model = model, new_data = newdat, type = "link")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.