coef.sgl: Extracting the nonzero coefficients
Description
This function returns the nonzero coefficients
(that is the nonzero entries of the \(beta\) matrices)
Usage
# S3 method for sgl
coef(object, index = 1:nmod(object), parameter = "beta",
...)
Arguments
parameter
name of the parameter (deafult is 'beta')
Value
a list of with nonzero coefficients of the models