powered by
Get the indices of non-zero coefficients from fitted HTLR model objects.
nzero_idx(fit, cut = 0.1)
Indices vector of non-zero coefficients in the model.
An object of S3 class htlr.fit.
htlr.fit
Threshold on relative SDB to distinguish zero coefficients.
set.seed(12345) data("colon") fit <- htlr(X = colon$X, y = colon$y, fsel = 1:100, iter = 20) nzero_idx(fit)
Run the code above in your browser using DataLab