Extract active variables of different kinds from a gamsel object
getActive(object, index, type = , EPS = 0)
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
vector of indices
Returns a vector of variables indices of variables having the desired properties.