Thes functions plot data from Actigraph GT1M and GT3X accelerometer files.
Usage
# S3 method for gt1m
plot(x, y = NULL, xlab, ylab, main,
keep.error = TRUE, which = "counts", select = 1,...)
# S3 method for gt3x
plot(x, y = NULL, xlab, ylab, main,
keep.error = TRUE, which = "x", select = 1,...)
Arguments
x
an object of class gt1m. It can be either accfile or acclist.
y
ignored.
xlab
x-axis label (optional).
ylab
y-axis label (optional).
main
main title (optional).
keep.error
logical flag. If FALSE (default) data errors as identified by errorChk will be replaced by NAs.
which
either 'counts' or 'steps' for gt1m files or one of c('x','y','z','steps') for gt3x files.
select
numeric. If class(x) is acclist, this argument specifies the corresponding position of the accelerometer file in the list (first file by default).
...
Arguments to be passed to methods, such as graphical parameters (see par).
Author
Marco Geraci
References
Actigraph (Pensacola, Florida).
Geraci M, Rich C, Sera F, Cortina-Borja M, Griffiths LJ, and Dezateux C (2012). Technical report on accelerometry data processing in the Millennium Cohort Study. London, UK: University College London. Available at https://discovery.ucl.ac.uk/1361699
data(gt1m_sample)
data(gt3x_sample)
plot(gt1m_sample, which = "counts")
plot(gt1m_sample, which = "steps")
plot(gt3x_sample, which = "x")
plot(gt3x_sample, which = "steps")