getActive {gamsel} | R Documentation |
Extract active variables of different kinds from a gamsel object
getActive(
object,
index = NULL,
type = c("nonzero", "linear", "nonlinear"),
EPS = 0
)
object |
gamsel object |
index |
index or vector of indices at which to obtain active
information. |
type |
type of active variables to report. One of |
EPS |
threshold for what is nonzero; default is 0 |
Returns a vector of variables indices of variables having the desired properties.
vector of indices