movfun: Internal function for Generating Moving Sum or Proportion

Description Usage Arguments Value

View source: R/ShapeData.R

Description

Internal function in freqprof that is used to generate moving sum or proportion data.

Usage

1
movfun(x, n, s, r, fun)

Arguments

x

data passed from freqprof

n

window length passed from freqprof

s

step size passed from freqprof

r

resolution passed from freqprof

fun

"sum" or "proportion" passed from freqprof

Value

Returns a list containing the processed data into $movfun, and the associated panels into $panels. Passes list to freqprof.


FreqProf documentation built on May 19, 2017, 6:26 p.m.

Search within the FreqProf package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.