Description Usage Arguments Value
View source: R/da_take_or_leave.R
Create exercise about taking or leaving special orders
1 2 3 4 5 6 7 8 9 10 | da_take_or_leave(
vol = 1000,
p = 10,
uvc = 4,
fc = 1000,
chg_p = -1,
chg_uvc = 1,
chg_fc = 1,
enough_cap = FALSE
)
|
vol |
Numeric. Volume of the normal product. |
p |
Numeric. Price of the normal product. |
uvc |
Numeric. Unit variable cost of the normal product. |
fc |
Numeric. Initial fixed costs. |
chg_p |
Numeric. -1 for decrease in price, 1 for an increase, 0 otherwise. |
chg_uvc |
Numeric. -1 for decrease in unit variable cost, 1 for an increase, 0 otherwise. |
chg_fc |
Numeric. 1 for an increase in fixed costs, 0 otherwise. |
enough_cap |
Logical. TRUE if the special order fits in available capacity. |
List. base, solution, wrong_nei, wrong_min_vol, wrong_max_vol, wrong_min_p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.