active_coefficients | R Documentation |
The function returns a logical vector which is TRUE
for all
active (i.e., non-zero) coefficients in the fitted model and FALSE
otherwise.
active_coefficients(object, ...)
acoef(object, ...)
object |
an object inheriting from |
... |
optional arguments currently ignored. |
a logical vector giving the active coefficients.
dat <- rhglm(100, c(1, 2, -3, 4, 5, -6))
fit <- hglm(y ~ ., constraints = k_max(3), data = dat)
active_coefficients(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.