Deterministic synthetic crop-yield example
Description
Four fictional regions with annual yields from 2000 through 2015 and weather through 2016. Values are generated from a known trend and monthly weather response, without random numbers or real agricultural observations. This example demonstrates the API; its scores are not scientific evidence.
Usage
synthetic_crop_example()
Value
A [prepare_crop_data()] result with twelve monthly temperature terms.
Examples
data <- synthetic_crop_example()
model <- fit_crop_model(data, "trend")
predict(model, data$panel[data$panel$Year == 2016, ])
[Package yieldlag version 0.3.0 ]