View source: R/ensemble_summary.R
ensemble_summary | R Documentation |
Allows easy computation of summaries across runoff datasets with user defined functions. The functions provided are run either individually for, or across, each runoff/downscaled/discharge timeseries in an HS* object.
ensemble_summary(
HS,
summarise_over_timeseries = FALSE,
aggregate_monthly = FALSE,
funs = c("min", "mean", "median", "max"),
drop = FALSE,
...,
verbose = FALSE
)
HS |
|
summarise_over_timeseries |
Apply function(s) column-wise (to
each timeseries separately, |
aggregate_monthly |
Return results as averages for the 12 months of the
year? Defaults to |
funs |
Functions to evaluate. By default, computes |
drop |
Drop existing timeseries in |
... |
Additional arguments passed to |
verbose |
Indicate progress, or not. Defaults to |
Applicable functions take a vector of numeric values as input, and return a single numerical value.
Returns the input HS
object, or a list, where
runoff/downscaled/discharge is replaced with the computed summaries.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.