extract_coefficients | R Documentation |
A convenience function to extract coefficients from any type of cross-price demand model in a unified format. For mixed effects models, returns a list with different coefficient types.
extract_coefficients(object, ...)
object |
A cross-price demand model object (cp_model_nls, cp_model_lm, or cp_model_lmer) |
... |
Additional arguments passed to the appropriate coef method |
For cp_model_nls and cp_model_lm, returns the model coefficients. For cp_model_lmer, returns a list with fixed, random, and combined coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.