Learn R Programming

cycleRtools (version 1.0.1)

mmv2: Efficient maximal mean values.

Description

A more efficient implementation of mmv. Simply takes a vector (x) of values and rolls over them element wise by windows defined in pds. Returns a vector of maximum mean values for each window size.

Usage

mmv2(x, pds)

Arguments

x
a numeric vector of values.
pds
window size(s) (in element units) for which to generate maximum mean values.

Value

  • a vector of length(pds).