powered by
Extract the variables from a model formula
variables(object)# S3 method for supernova variables(object)# S3 method for formula variables(object)# S3 method for lm variables(object)# S3 method for lmerMod variables(object)
# S3 method for supernova variables(object)
# S3 method for formula variables(object)
# S3 method for lm variables(object)
# S3 method for lmerMod variables(object)
A list containing the outcome and predictor variables in the model.
outcome
predictor
A formula, lm or supernova object
formula
lm
supernova