calc_r_x0 | R Documentation |
Calculate growth rate and LAI at t0
calc_r_x0(param_r, min_r = 0.02, max_r = 0.05, k = 6)
param_r |
Output of the function read_sb_growth_parameter, which produces a list containing the LAI images and the associated dates |
min_r |
minimum growth rate for sugar beet. Default |
max_r |
maximum growth rate for sugar beet. Default |
k |
carrying capacity, which is the maximum LAI that can be attained. This value can be cultivar-dependent. The default is fixed to 6 |
Fits a non-linear model to remotely sensed LAI values and estimates the leaf area index (LAI) and growth rate r at the start of the time window t0.
param_rxt: list containing parameters that are necessary to calculate
c_closure
. These parameters are r
, the growth rate, x0
,
the initial LAI value, and t0
, the initial date.
img_dir <- system.file("extdata", "uav_img",package = "cercospoRa")
epidemic_onset_param <-
read_sb_growth_parameter(img_files = list.files(img_dir,pattern = "tif",
full.names = TRUE),
img_dates = as.POSIXct(
c("2022-06-14","2022-06-28"),tz = "UTC"),
target_res = 10)
param_rxt <- calc_r_x0(epidemic_onset_param,
min_r = 0.02,
max_r = 0.05,
k = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.