mewInit: Create an S4 object of class 'mewTyp'

Description Usage Arguments Details Value Examples

Description

Call this function to create an S4 object of class mewTyp.

Usage

1
mewInit(n_bin, n_xx, ff)

Arguments

n_bin

(scalar integer) The fixed number of bins to use to define the moving expanding window

n_xx

(scalar integer) The length of each vector in the sequence to be averaged

ff

(scalar double) The fraction of the samples to included in each window

Details

If it is necessary to directly call mewAccum and mewMean an S4 object of class mewTyp should be created first using this function. The user should never create an S4 object of class mewTyp using the new function provided by the methods package.

Value

An initialized instance of the class mewTyp

Examples

1
av <- mewInit(n_bin = 4, n_xx = 2, ff = 0.5)

mewAvg documentation built on May 2, 2019, 6:20 a.m.