Data.trafo {vstdct} | R Documentation |
Data Transformation
Description
Applies the Discrete Cosine I transform, data binning and the variance stabilizing transform function to the data.
Usage
Data.trafo(y, Te, dct.out = FALSE)
Arguments
y |
|
Te |
number of bins for data binning. |
dct.out |
logical. If |
Value
A list containing the following elements:
m
: number of data points per bin, that ism=n*round(p/Te)
. Ifp/Te
is not an integer, the first/last bin may contain more thanm
data points.y.star
:2Te-2
dimensional vector with binned, variance stabilized and mirrowed data. The bin numberTe
may be modified to guarantee at least two data points per bin. Ifp/Te
is not an integer, the vector dimension is2*floor(p/round(p/Te))-2
.dct.matrix
:p
-dim. DCT-I matrix (ifdct.out
=TRUE)