View source: R/coarsegrainUnivariate.R
coarsegrainUnivariate | R Documentation |
Function coarsegrains a univariate signal by partitioning the signal into bins of length eps, and then applying a function (by default, the mean) to each bin.
coarsegrainUnivariate(x, eps, fun = mean, ...)
x |
A numeric vector. |
eps |
The bin size. |
fun |
The function to apply to each bun (default = mean). |
... |
Other arguments passed to fun. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.