KFprocess: Enhanced Kalman filter to reduce the noise of raw data

Description Usage Arguments Value See Also Examples

View source: R/TCorrect.R

Description

Kalman filter reducing the noise in raw data if it is necessary.

Usage

1
KFprocess(x, manual = NULL, ...)

Arguments

x

A data frame with VBTree style. Pay attention, all factors in column names should be separated by "-" symbol, and factors for temperatures and strain rates should be saved in pure numeric style.

manual

An integer vector with the length of 3 where the 1st element denotes the layer for Stress and Strain, the 2nd and 3rd elements represent the levels for Strain and Stress, respectively. The default setting is NULL, which can call the function lyIDdetector for automatic completion.

...

The arguments dV and dW passed on to dlmModPoly in the function dlmSmooth.

Value

A data frame with the identical shape as input data, but with the smoothed stress values.

See Also

VBTree, dlmModPoly, dlmSmooth

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# raw data without smoothing:
SSplots(TPMdata, 2, mfrow=c(2, 2))

# Smoothing to reduce the noise:
KFdt <-KFprocess(TPMdata, dV = 0.3, dW = 0.006)
SSplots(KFdt, 2, mfrow=c(2, 2))

## End(Not run)

TPMplt documentation built on Oct. 2, 2019, 1:03 a.m.