movfun {FreqProf}R Documentation

Internal function for Generating Moving Sum or Proportion

Description

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

Usage

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.


[Package FreqProf version 0.0.1 Index]