Learn R Programming

FastRet (version 1.3.0)

get_predictors: Extract predictor names from an 'frm' object

Description

Extracts the predictor names from an 'frm' object.

Usage

get_predictors(frm, base = TRUE, adjust = FALSE)

Value

A character vector with the predictor names.

Arguments

frm

An object of class 'frm' from which to extract the predictor names.

base

Logical indicating whether to include base model predictors.

adjust

Logical indicating whether to include adjustment model predictors.

Examples

Run this code
frm <- read_rp_lasso_model_rds()
get_predictors(frm)

Run the code above in your browser using DataLab