| dmea_prepare_climate | R Documentation |
Prepare climate data for superposed epoch analysis
dmea_prepare_climate(
clim,
vars = "all",
step = 1,
unit = c("hours", "days", "mins"),
agg_fun = "mean",
var_funs = NULL
)
clim |
Climate data frame. First column must contain timestamps. |
vars |
Climate variables to use, or |
step |
Step size in units. |
unit |
One of |
agg_fun |
Aggregation function applied to all variables when
|
var_funs |
Optional named vector or named list of aggregation functions for individual variables. |
A tibble with aggregated climate data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.