R/utils.R
checkModel.Rd
Checks that model is of class lm or glm.
model
lm
glm
checkModel(model)
An object to check.
Invisible model if valid, otherwise an error is thrown.