f.pentad | R Documentation |
Internal function to accumulate data into pentads (5-day long periods) using different accumulation functions (mean, max, min, sum, etc.)
f.pentad(vtime, vvalue, na_rm = F, f = mean)
vtime |
data frame column or vector containing |
vvalue |
data frame column or vector containing the analysed data |
na_rm |
boolean (should NA values be removed? Defaulf = F) |
f |
|
The function return a list with two elements. One data frame with time stamped pentad values and a matrix with the 73 pentads organized in lines and years in columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.