shock_over_market | R Documentation |
Analize a market after a shock:
shock_over_market( market, curve, shock_name = "Tax", p_delta = 0.15, q_delta = 0, slope_change = 0, percent = TRUE )
market |
A simple market with supply and demand produced by |
curve |
String with the curve(s) name that get the shock. Use "demand" or "supply" |
shock_name |
A name from the shock. Default value: "Tax" |
p_delta |
|
q_delta |
p_delta |
slope_change |
To wich value the slope of the curve should change. |
percent |
If the shock is a percentage (15% tax over supply) use |
List with:
Original market plot
Income and substitution effect plot
Consumer and producer surplus before shock
Consumer and producer surplus after shock
Table with
Elasticities at equilibrium (before and after)
Surplus (before and after)
Income and substitution effect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.