View source: R/read_sb_growth_parameter.R
read_sb_growth_parameter | R Documentation |
Read LAI images at several time points
read_sb_growth_parameter(img_files, img_dates, target_res)
img_files |
character vector providing the file paths of at least two
georeferenced images for the study location. Dates of image capture need to
be defined in |
img_dates |
POSIXct vector of dates corresponding to the images supplied in
|
target_res |
desired spatial resolution. |
SpatRast
with a layer for each input layer. Each layer
contains is named according to the img_dates
. The output
SpatRast
is suitable for input in calc_r_x0()
epidemic_onset_param <-
read_sb_growth_parameter(img_files = list.files(system.file("extdata", "uav_img",
package = "cercospoRa"),
pattern = ".tif",
full.names = TRUE),
img_dates = as.POSIXct(c("2022-06-14",
"2022-06-28"),
tz = "UTC"),
target_res = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.