Aggregation function for Ecosystem Functional Properties
1 2 3 4 5 6 7 8 |
x |
EFPs to be aggregated. |
aggregation.time |
Can be "day", "month", "year", growing season "gs". if it's a number it's considered as a time window in number of days. If "optim" the optimum number of days will be estimate to reduce the sd of each chunck. |
aggregation.metric |
Can be "mean", "max", "min", "median", and "quant". if "quant" a number between 0 and 1 need to be provided in prob parameter. |
dates |
A vector of class "Date" of the same length of x. |
overlapping |
Can be "NULL" or a number. If it's a number equivale to the parameter by of the rollapply function. |
prob |
Only used if aggregation.metric is "quant", a number between 0 and 1. By default 0.9. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.