Plot accelerometer file

Share:

Description

Thes functions plot data from Actigraph GT1M and GT3X accelerometer files.

Usage

1
2
3
4
5
6
## S3 method for class 'gt1m'
plot(x, y = NULL, xlab, ylab, main,
keep.error = TRUE, which = "counts", select = 1,...)
## S3 method for class '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(s)

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 http://discovery.ucl.ac.uk/1361699

See Also

plot, par, gt1mAccFile, gt1mAccDir

Examples

1
2
3
4
5
6
7
8