| predict.cp_model_nls | R Documentation |
Predict from a Cross-Price Demand Model (Nonlinear)
## S3 method for class 'cp_model_nls'
predict(
object,
newdata = NULL,
inv_fun = identity,
inverse_fun = deprecated(),
...
)
object |
A cross-price model object from fit_cp_nls with return_all=TRUE. |
newdata |
A data frame containing an 'x' column. |
inv_fun |
Optional inverse transformation function. Default is |
inverse_fun |
|
... |
Additional arguments. |
A data frame with x values and predicted y values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.