linear_curve: Plot a demand, supply or both curves for a market

View source: R/microeconomics.R

linear_curveR Documentation

Plot a demand, supply or both curves for a market

Description

Plot a demand, supply or both curves for a market

Usage

linear_curve(market, market_name = NULL)

Arguments

market

result from create_market function

market_name

A title for the analyzed market

Value

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

Examples


# market <- create_market(price_q0 = c(100,200),slope = c(-1,1))
# linear_curve(market = market,market_name = "Black market")

AlexB4891/phenomenology documentation built on March 29, 2022, 8:56 p.m.