Get a response from model formula

getResponseFromFormula(formula, data)

Arguments

formula

The model formula

data

The data frame associated with the model