View source: R/microeconomics.R
linear_curve | R Documentation |
Plot a demand, supply or both curves for a market
linear_curve(market, market_name = NULL)
market |
result from |
market_name |
A title for the analyzed market |
Return a list with some elements_
curve
PLot of the analyzed market
market
all the elements behind the market
equilibrium
if at least one curve is a supply curve and at least one is a demand curve then
the equilibriums are calculated
# market <- create_market(price_q0 = c(100,200),slope = c(-1,1)) # linear_curve(market = market,market_name = "Black market")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.