Coefficients: Model coefficients

View source: R/calibration.R

CoefficientsR Documentation

Model coefficients

Description

Extracts the coefficients of visited models at different resampling iterations of a stability selection run. This function can be applied to the output of VariableSelection.

Usage

Coefficients(stability, side = "X", comp = 1, iterations = NULL)

Arguments

stability

output of VariableSelection.

side

character string indicating if coefficients of the predictor (side="X") or outcome (side="Y") coefficients should be returned. Option side="Y" is only applicable to PLS models.

comp

component ID. Only applicable to PLS models.

iterations

vector of iteration IDs. If iterations=NULL, the coefficients of all visited models are returned. This number must be smaller than the number of iterations K used for the stability selection run.

See Also

VariableSelection


sharp documentation built on April 11, 2025, 5:44 p.m.