pred_vars: Get predictor and response variables from models
Description
pred_vars() and resp_var() return the names of a
model's predictor or response variables as character vector.
resp_val() returns the values of the model's response
vector.
Usage
pred_vars(x)
resp_var(x)
resp_val(x)
Arguments
x
A fitted model.
Value
The name(s) of the response or predictor variables from x
as character vector; or the values from x's response vector.