Checks if an object is a regression model or statistical test object
Source:R/is_model.R
is_model.Rd
Small helper that checks if a model is a regression model or
a statistical object. is_regression_model()
is stricter and only
returns TRUE
for regression models, but not for, e.g., htest
objects.