R/cp-methods.R
augment.cp_model_lm.Rd
Augment a Cross-Price Demand Model (Linear)
# S3 method for class 'cp_model_lm' augment(x, ...)
A cp_model_lm object.
cp_model_lm
Additional arguments (unused).
A tibble with the original modelling data and added .fitted and .resid columns.
.fitted
.resid