Internal sail helper functions
cbbPalette
gives a Color Blind Palette
nonzero
is to determine which coefficients are non-zero
check_col_0
is to check how many columns are 0 and is
used in the fitting functions lspath
SoftThreshold(x, lambda)l2norm(x)
cbbPalette
nonzero(beta, bystep = FALSE)
check_col_0(M)
numeric value of a coefficient
tuning parameter value
vector or 1 column matrix of regression coefficients
bystep = FALSE
means which variables were ever nonzero.
bystep = TRUE
means which variables are nonzero for each step
is a matrix
An object of class character
of length 8.
These functions are not intended for use by users.