Learn R Programming

classifly (version 0.4.1)

variables: 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