Description Usage Arguments Details Value
View source: R/calc_wgn_output_statistics.R
calc_rep_stats
returns a list of statistics calculated from an input list of timeseries
replicates.
1 | calc_rep_stats(wgn_data_rep, nyears = NULL)
|
wgn_data_rep |
A list of vectors containing the replicates of input timeseries.
Each element of the list should be a named vector of numbers with names as character dates of the form
|
nyears |
number of years of data in the input, |
Uses the function calc_ts_stats
to calculate the statistics for each replicate. The statistics
from all the replicates are saved in a dataframe corresponding to each statistic.
Similar to calc_ts_stats
, the statistics calculated are:
annual maximum values (name: ann_max)
annual total values (name: ann_tot)
monthly mean climatology (name: mon_mean)
monthly standard deviation(name: mon_sd)
correlation of subsequent non-zero days by month (name: cor_wetdays_daily),
variance of non-zero days by month (name: var_wetdays_daily),
proportion of dry (zero rainfall) days within a month (name: pdry).
A named list of dataframes containing the calculated statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.