Description Usage Arguments Value

`CalcRunningMean`

takes series and calculates
a running mean over specified number of records

1 | ```
CalcRunningMean(x, n, sides = 2, ts = FALSE)
``` |

`x` |
Vector of values |

`n` |
Number of records to use |

`sides` |
Whether to use both sides (2=past and future) or just one side (1=past only). |

`ts` |
Flag whether or not to return a time series object or just a vector (DEFAULT=FALSE, which returns a vector) |

Vector of moving averages

mccreigh/rwrfhydro documentation built on May 12, 2018, 3:08 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.