Description Usage Arguments Value Examples
View source: R/calc_seed_prices.R
Calculates the seed prices for purchased seeds based upon if you have a Jojamart membership or not.
1 | calc_seed_prices(all_joja_cols = TRUE, joja_member = FALSE)
|
joja_member |
logical specifying if you have the JojaMart membership, or can be NA if both_joja_cols = FALSE |
crop_data |
data.frame containing crop data, defaults to the data contained in the croptimizer package |
both_joja_cols |
logical specifying if you want both JojaMart price columns, one for the price with the membership and one for the price without |
data.frame containing crop_data with seed_price and source columns appended
1 2 3 4 5 | fall_crops <-
filter_to_season(season = "fall", crop_data = croptimizer::crops)
calc_seed_prices(crop_data = fall_crops,
joja_member = FALSE,
drop_cols = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.