View source: R/DyMEP_apply_unknown_environment_prediction_utils.R
envpredutils.env_period_cutter | R Documentation |
A function to cut the environmental data into the correct length
envpredutils.env_period_cutter(
start_date,
env_variables,
env_data,
max_period_length = 300
)
start_date |
start of the phase |
env_variables |
name of the wanted variables |
env_data |
actual environmental data |
max_period_length |
in order to reduce computing time, a maximal amount of days will be considered (default = 300); if less data available, less days will be considered |
list with cut environmental covariates for the given period
envpredutils.env_period_cutter(Sys.Date(),
c("tas"), list("tas"=data.frame("DATE"= seq(as.Date(Sys.Date()),
(Sys.Date()+100),by="day"),
"VALUE"= c(1:101))), 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.