make.response.mat: Converts a vector into a matrix where each column is a moving...

Description Usage Arguments Details Value Author(s) See Also

Description

Converts a vector into a matrix where each column is a moving window

Usage

1
make.response.mat(X, bw = 5)

Arguments

X

The vector to be processed

bw

The bandwidth of the moving window, where the length of the moving window is 2*bw + 1.

Details

Near the beginning and end of the series, the moving window is padded with NA's as necessary.

This function is not exported and is used only by fitQslow, which, in turn, exists for validation of fitQ.

Value

A matrix, where each column contains the elements of the progressing moving window across X.

Author(s)

Landon Sego

See Also

This function is used in fitQslow


pnnl/qFeature documentation built on May 25, 2019, 10:22 a.m.