Description Usage Arguments Value Author(s) See Also
Predict fitted values from a MLGL
object
1 2 |
object |
|
newx |
matrix with new individuals for prediction. If type="coefficients", the parameter has to be NULL |
s |
values of lambda. If NULL, use values from object |
type |
if "fit", return the fitted values for each values of s, if "coefficients", return the estimated coefficients for each s |
... |
Not used. Other arguments to predict. |
A matrix with fitted values or estimated coefficients for given values of s.
original code from gglasso package Author: Yi Yang <yiyang@umn.edu>, Hui Zou <hzou@stat.umn.edu>
function inspired from predict function from gglasso package by Yi Yang and Hui Zou.
MLGL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.