View source: R/toolTimeAverage.R
toolTimeAverage | R Documentation |
average over time given an averaging range. Only works for data with equidistant time steps!
toolTimeAverage(x, averaging_range = NULL, cut = TRUE, annual = NULL)
x |
magclass object that should be averaged with equidistant time steps |
averaging_range |
number of time steps to average |
cut |
if TRUE, all time steps at the start and end that can not be averaged correctly, will be removed if FALSE, time steps at the start and end will be averaged with high weights for start and end points |
annual |
deprecated. Please don't use it! |
the averaged data in magclass format
Kristine Karstens, Jan Philipp Dietrich
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.