create_supply_and_demand: Create System of Supply and Demand

Description Usage Arguments Details Value See Also Examples

Description

Creates a tibble to represent a system of linear equations for supply and demand.

Usage

1
create_supply_and_demand(qd = 1000, qs = 250, a = 10, b = 5)

Arguments

qd

exogenous demand.

qs

exogenous supply. Default: 250

a

Demand's sensitivity to the price. Default: 10

b

Supply's sensitivity to the price. Default: 5

Details

Use it to create a tibble and then use it with plot_system_and_demand.

Value

A tibble that represents a system of linear equations for supply and demand.

See Also

bezier as_data_frame rename,left_join

Examples

1
2
3
4
5
6
7
## Not run: 
if(interactive()){
 create_supply_and_demand() %>%
 plot_supply_and_demand()
 }

## End(Not run)

David-Salazar/ggsupplyDemand documentation built on May 8, 2019, 3:11 a.m.