Retrieve the full-data solution path from a varsel() or cv_varsel() run or the predictor combination from a project() run
Source: R/methods.R
solution_terms.RdThe solution_terms.vsel() method retrieves the solution path from a
full-data search (vsel objects are returned by varsel() or
cv_varsel()). The solution_terms.projection() method retrieves the
predictor combination onto which a projection was performed (projection
objects are returned by project(), possibly as elements of a list). Both
methods (and hence also the solution_terms() generic) are deprecated and
will be removed in a future release. Please use ranking() instead of
solution_terms.vsel() (ranking()'s output element fulldata contains the
full-data predictor ranking that is extracted by solution_terms.vsel();
ranking()'s output element foldwise contains the fold-wise predictor
rankings—if available—which were previously not accessible via a built-in
function) and predictor_terms() instead of solution_terms.projection().
Usage
solution_terms(object, ...)
# S3 method for class 'vsel'
solution_terms(object, ...)
# S3 method for class 'projection'
solution_terms(object, ...)