View source: R/elasticitiesBLP.R
Currently only works for variables whose name was added to the argument postEstimation.control$elasticities
in the call to estimateBLP
1 2 | elasticitiesBLP(blp, var = names(blp$elasticities)[[1]], market = 1,
products = NULL, round.digits = 3)
|
blp |
The result from estimateBLP |
var |
The variable name of the elasticity to be estimated |
market |
Number or name of the market for which elasticities shall be computed |
products |
A character vector or NULL (default). If not NULL only return elasticities for the specified products. Looks up product names in the column specified by |
round.digits |
If not NULL the number of digits to which elasticities shall be rounded (DEFAULT=3) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.