For listwise + ungrouped results, dispatches to stats::predict.lm
(the result inherits from "lm"). For grouped or pairwise results,
raises an informative error.
# S3 method for linear_regression
predict(object, ...)A numeric vector of predictions (or a matrix/list, depending on
the arguments), as returned by stats::predict.lm.
A linear_regression result.
Passed to stats::predict.lm.