Augment a Cross-Price Demand Model (Nonlinear)
Usage
# S3 method for class 'cp_model_nls'
augment(x, ...)
Arguments
- x
A cp_model_nls object.
- ...
Additional arguments (unused).
Value
A tibble with the original modelling data and added .fitted and
.resid columns. Both are on the model's response scale: raw y for
equation = "exponentiated" / "additive", and log10(y) for
equation = "exponential" (which is fit to log10(y)).