Description Usage Arguments Value Examples
View source: R/DemandQuantity.R
Finds the quantities (outputs) and returns general propeties when prices are given of various economics demand systems including Linear, Translog, CES, LES and CREMR.
1 | DemandQuantity(p, parameter, method, Plot, message)
|
p |
the price vector |
parameter |
the parameters of the economics demand system. When choosing CREMR demand, it should be three dimensional, otherwise it should be two dimensional. |
method |
the demand function used, can be one of Linear, Translog, CES, LES and CREMR |
Plot |
a logical value indicating whether the manifold should be plotted |
message |
a logical value indicating whether an important message about the computed quantity should be printed |
quantity |
the computed quantity |
sales |
the total sales (revenues) |
elasticity |
the elasticity of demand |
convexity |
the convexity of demand |
marginal.revenue |
the marginal revenues |
1 2 3 4 5 6 7 8 |
[1] 18.0 17.8 17.6
[1] -8.0 -7.8 -7.6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.