1 : ncol(ref)
leads to NA values.RMS(warp.coef, ref, samp, B)
WCC(warp.coef, ref, samp, B, trwdth = 20, wghts, ref.acors = NULL)
samp
samp
are warped using the same warping
function, and then compared to ref
, either pair-wise (when
ref
and samp
are of the same size), or with the one
pattern in ref
.de Gelder, R., Wehrens, R. and Hageman, J.A. (2001) "A generalized expression for the similarity of spectra: Application to powder diffraction pattern classification", Journal of Computational Chemistry, 22, 273 -- 289.
wcc