diagnosticPlot {rMEA} | R Documentation |
Plots the initial, middle and ending part of a MEA object
Description
This is typically useful to check if the motion energy time-series are good. The middle section is chosen randomly among possible middle sections.
Usage
diagnosticPlot(mea, width = 60, ...)
Arguments
mea |
an object of class |
width |
integer. The number of seconds to be plotted for each panel |
... |
further arguments passed to |
Details
Motion energy time-series should always be visually inspected for possible artifacts. Periodic peaks or drops in time-series are indicators of e.g. key-frames or duplicated video-frames.
For further information regarding the program MEA, please refer to the documentation available at http://www.psync.ch
.
Examples
## read a single file
path_normal <- system.file("extdata/normal/200_01.txt", package = "rMEA")
mea_normal <- readMEA(path_normal, sampRate = 25, s1Col = 1, s2Col = 2,
s1Name = "Patient", s2Name = "Therapist", skip=1,
idOrder = c("id","session"), idSep="_")
## Visual inspection of the data
diagnosticPlot(mea_normal[[1]])
[Package rMEA version 1.2.2 Index]