Non-linear alignment using Correlation Optimized
warping (COW). This is cow
but with argument structure like
other ..._align functions.
Arguments
- x
First
vector
or adata.frame
containingvector
to use as reference when COW aligningy
data.- y
Second
vector
ordata.frame
containingvector
to COW warp align withx
.- by
If
x
ory
aredata.frames
, the names of data columns to aligned.- ...
Other arguments, currently ignored.
- seg
Segment size for warping.
- slack
Segment size expansion/compression range.
- print.report
(logical) print segment report.
- r.power
(logical or numeric) correlation power (1-4).
- pad.method
Handling method if
x
andy
are different lengths: 1 (default) Start with start-points aligned; 2 Start with mid-point aligned.
Note
This function is based on previous matlab (see Source),
but some formal arguments and parameters have been changed to
make function more consistent with other align
functions.
References
Correlation optimized warping was developed as a preprocessing method for chromatographic Data:
Niels-Peter Vest Nielsen, Jens Micheal Carstensen and Jorn Smedegaard, 1998, Aligning of single and multiple wavelength chromatographic profiles for chemometric data analysis using correlation optimised warping. J. Chrom. A 805(1998), 17-35
Giorgio Tomasi, Frans van den Berg and Claus Andersson, 2004, Correlation optimized warping and dynamic time warping as preprocessing methods for chromatographic Data, Journal of Chemometrics 18 (2004), 231-241.