mewInit: Create an S4 object of class 'mewTyp'

mewInitR Documentation

Create an S4 object of class mewTyp

Description

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

Usage

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

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


mewAvg documentation built on April 25, 2022, 5:07 p.m.