Coefficient of multiple correlation for repeated waveforms (Kadaba CMC)
Source:R/stats-reliability.R
waveformCMC.RdThe waveform analogue of a reliability coefficient (Kadaba et al. 1989): how
similar a set of repeated curves are, relative to the curve's own variation.
With groups = NULL the rows of x are repeated trials and the result is the
within-day repeatability; pass groups (e.g. a session/day label per row)
for the between-day CMC of the session-mean waveforms.
Value
The CMC in [0, 1] (higher = more repeatable), or NA with a warning
when the radicand is negative (waveform variation too small for a defined
CMC – a known limitation for low-excursion curves).