update_total_days_in_growth: Update Total Days in Growth

Description Usage Value Examples

View source: R/update_total_days_in_growth.R

Description

Updates the 'total_days_in_growth' column in crops data to account for decreased days in growth due to applying Speed-Gro. Crop data must contain the column 'soil_mod', indicating what fertilizer of speed-gro is applied to that crop.

Usage

1
update_total_days_in_growth(crop_data, level_10_agri = NULL)

Value

crop data with updated 'total_days_in_growth' which accounts for Speed-Gro

Examples

1
2
3
4
5
6
7
8
## Hyper Speed-Gro
speed_gro <-
append_soil_mod(soil_mods = "hyper speed-gro") %>%
update_total_days_in_growth()
## Deluxe Speed-Gro
speed_gro <-
append_soil_mod(soil_mods = "deluxe speed-gro") %>%
update_total_days_in_growth()

aftonsteps/croptimizer documentation built on Jan. 28, 2021, 12:50 p.m.