newpenalty | R Documentation |
Given a statistical model with regularization parameters, compute the penalty.
newpenalty(model) ## S4 method for signature 'newmodel' newpenalty(model)
model |
an object that describes a statistical model with regularization parameters. |
The penalty of the model.
newmodel
: return the penalization.
m <- newmodel(K=2) newpenalty(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.