Description Usage Arguments Value See Also Examples
Takes a tibble that represents a system of supply and demand and creates another curve by shifting one of the already existing supply curves.
1 | shift_supply(supply_and_demand_system, outwards = TRUE, curve = supply)
|
supply_and_demand_system |
A tibble created from |
outwards |
Whether you want to shift the demand outwards or not. Default: TRUE |
curve |
Which of the existing demands you want to shift: i.e., shift a demand already shifted |
A tibble with an extra demand curve resulting from the shifting.
1 2 3 4 5 6 7 8 9 | ## Not run:
if(interactive()){
create_supply_and_demand() %>%
shift_demand() %>%
shift_supply() %>%
plot_supply_and_demand()
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.