tidy.cp_model_nls: Convert a cross-price model to a tidy data frame of coefficients
Description
This function extracts model coefficients from a cross-price demand model
into a tidy data frame format, following the conventions of the broom package.
It handles cases where model fitting failed gracefully, returning an empty
data frame with the expected structure.
Usage
# S3 method for cp_model_nls
tidy(x, ...)
Value
A data frame with one row per coefficient, containing columns: