active_coefficients {holiglm}R Documentation

Obtain all Active Coefficients

Description

The function returns a logical vector which is TRUE for all active (i.e., non-zero) coefficients in the fitted model and FALSE otherwise.

Usage

active_coefficients(object, ...)

acoef(object, ...)

Arguments

object

an object inheriting from "hglm" or "hglm.fit" from which the active coefficients obtained from.

...

optional arguments currently ignored.

Value

a logical vector giving the active coefficients.

Examples

dat <- rhglm(100, c(1, 2, -3, 4, 5, -6))
fit <- hglm(y ~ ., constraints = k_max(3), data = dat)
active_coefficients(fit)

[Package holiglm version 1.0.0 Index]