The function extracts features from functional data based on the DTW distance with a reference dataframe.
Arguments
- ref.method
(
character(1)
)
How should the reference curves be obtained? Methodrandom
drawsn.refs
random reference curves, whileall
uses all curves as references. In order to use user-provided reference curves, this parameter is set tofixed
.- n.refs
(
numeric(1)
)
Number of reference curves to be drawn (as a fraction of the number of observations in the training data).- refs
(
matrix
|integer(n)
)
Integer vector of training set row indices or a matrix of reference curves with the same length as the functionals in the training data. Overwritesref.method
andn.refs
.- dtwwindow
(
numeric(1)
)
Size of the warping window size (as a proportion of query length).
Value
(data.frame).
See also
Other fda_featextractor:
extractFDABsignal()
,
extractFDAFPCA()
,
extractFDAFourier()
,
extractFDAMultiResFeatures()
,
extractFDATsfeatures()
,
extractFDAWavelets()