variables: Extract predictor and response variables for a model object.

View source: R/classification.r

variablesR Documentation

Extract predictor and response variables for a model object.

Description

Due to the way that most model objects are stored, you also need to supply the data set you used with the original data set. It currently doesn't support models fitted without using a data argument.

Usage

variables(model)

Arguments

model

model object

Value

list containing response and predictor variables


classifly documentation built on May 20, 2022, 9:06 a.m.