TariffMonComRUM-methods | R Documentation |
calcSlopes
, Prices
, Margins
methods for the TariffMonComLogit
and TariffMonComCES
classes
## S4 method for signature 'TariffMonComLogit' calcSlopes(object) ## S4 method for signature 'TariffMonComCES' calcSlopes(object) ## S4 method for signature 'TariffMonComLogit' calcMargins(object, preMerger = TRUE, level = FALSE) ## S4 method for signature 'TariffMonComCES' calcMargins(object, preMerger = TRUE, level = FALSE) ## S4 method for signature 'TariffMonComLogit' calcPrices(object, preMerger = TRUE, ...) ## S4 method for signature 'TariffMonComCES' calcPrices(object, preMerger = TRUE, ...)
object |
an instance of class |
preMerger |
when TRUE, computes result under the existing tariff regime. When FALSE, calculates tariffs under the new tariff regime. Default is TRUE. |
level |
when TRUE, computes margins in dollars. When FALSE, calculates margins as a proportion of prices. Default is FALSE. |
... |
harmlessly pass the arguments used in other calcPrices methods to
methods for |
calcSlopes
return a TariffMonComLogit
or TariffMonComCES
object containing estimated slopes. CalcQuantities
returns
a matrix of equilbrium quantities under either the current or new tariff.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.