Rectify EMG signals
Usage
rectifyEMG(x, method = c("fullwave", "halfwave"))References
Merletti R, Parker PA (2004). "Electromyography: Physiology, Engineering, and Non-Invasive Applications." IEEE Press/Wiley.
See also
computeRMSEnvelope() for computing RMS envelope,
processEMG() for complete EMG processing pipeline.
Examples
x <- c(-1, -0.5, 0, 0.5, 1)
rectifyEMG(x, method = "fullwave")
#> [1] 1.0 0.5 0.0 0.5 1.0