For listwise + ungrouped results, dispatches to stats::predict.lm
(the result inherits from "lm"). For grouped or pairwise results,
raises an informative error.
Usage
# S3 method for class 'linear_regression'
predict(object, ...)Arguments
- object
A
linear_regressionresult.- ...
Passed to
stats::predict.lm.
