Description Usage Arguments Details Value See Also
View source: R/accelerate-reading.R
Reads in an Actigraph (GT1M, ActiTrainer) csv file and returns an object of class "acc" that can be further processed with summary.acc etc.
1 2 3 4 5 6 7 8 | read.actigraph.csv(
file,
DIR = "data",
get.id = getID,
preprocess = delete.zeros,
.filter = FILTER,
...
)
|
file |
the file to read |
DIR |
folder - added to 'file' but can be missing |
get.id |
- function to extract ID from file name, eg. getID |
preprocess |
- function to preprocess data - either delete.zeros or reintegrate - or a custom function |
.filter |
- function to filter out implausible values |
... |
extra parameters are silently ignored |
For reading in older actigraph files in "dat" format. The main shortcoming of this format is ambiguity of date format - it is dependent on computer used to download the data. Therefore the newer format (agd) should be used when possible.
an object (list) of class "acc"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.