Description Usage Arguments Value Author(s) Examples
This function calculates a similarity matrix and returns the sample number that is most similar to all other samples. This is possibly preferable as a reference sample since warping then may be kept to a minimum. Either RMS or WCC may be used as similarity functions.
1 2 |
x |
data matrix or array of signals, specified row-wise. In case of an array, the third dimension should differentiate between the different samples |
optim.crit |
either |
trwdth |
the width of the triangle in the WCC criterion, given as a number of data points. Default: 20 |
wghts |
Optional weights vector in the WCC criterion; will be calculated from the triangle width if necessary. Sometimes it is more efficient to pre-calculate it and give it as an argument |
smooth.param |
smoothing parameter for smoothing the signal when
|
A list containing two elements:
best.ref |
the index of the best reference(s) |
crit.values |
the qualities as measured by either RMS or WCC |
Jan Gerretzen, Ron Wehrens
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.