Description Usage Arguments Details 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 demands.
1 | shift_demand(supply_and_demand_system, outwards = TRUE, curve = demand)
|
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 |
DETAILS
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_demand(demand = demand1) %>%
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.