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