coef.sgl {sglOptim} | R Documentation |
This function returns the nonzero coefficients (that is the nonzero entries of the beta matrices)
## S3 method for class 'sgl' coef(object, index = 1:nmod(object), parameter = "beta", ...)
object |
a sgl object |
index |
indices of the models |
parameter |
name of the parameter (deafult is 'beta') |
... |
ignored |
a list of with nonzero coefficients of the models
Martin Vincent