Skip to contents

Yield regressions and create figures using average growing season temperature and precipitation, max and min months

Usage

yield_regression(
  formula = NULL,
  diagnostics = TRUE,
  output_dir = file.path(getwd(), "output")
)

Arguments

formula

Default = NULL. string for regression formula

diagnostics

Default = TRUE. Logical for performing diagnostic plot

output_dir

Default = file.path(getwd(), 'output'). String for output directory