modify.parameter | R Documentation |
Modify default parameters for methods provided in the package.
modify.parameter(FUN, ...)
FUN |
Method |
... |
Modified arguments |
It returns a new function with modified parameters.
glmnet.lasso <- modify.parameter(glmnet1, alpha=1)
glmnet.ridge <- modify.parameter(glmnet1, alpha=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.