Description Usage Arguments Details Examples
Remove variables with no link and simplify the class of the lvm object
1 | lavaPenalty.clean.hook(x, simplify.penalty = TRUE, simplify, ...)
|
x |
|
simplify.penalty |
should the class |
simplify |
should the class of the object be simplified ? Overwrite the simplify.x arguments. |
... |
additional arguments to lower level functions |
simplify means remove the class "lava.penalized"
if no linear predictor is in the object.
1 2 3 4 5 6 7 8 9 | m <- lvm(Y ~ X1 + X2)
pm <- penalize(m)
pm
cancelPenalty(pm) <- Y~X1
cancelPenalty(pm) <- Y~X2
pm
clean(pm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.