sail-internal.RdInternal 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)
| x | numeric value of a coefficient |
|---|---|
| lambda | tuning parameter value |
| beta | vector or 1 column matrix of regression coefficients |
| bystep |
|
| M | is a matrix |
An object of class character of length 8.
These functions are not intended for use by users.