impactr
comes with some example ActiGraph accelerometer raw data
files in its inst/extdata
directory. This function make them easy to
access.
Usage
impactr_example(file = NULL)
Arguments
- file
A character string with the file name. If NULL
, the
example files will be listed.
Value
If file = NULL
, it returns the file names of the example
data files, else it returns the path to the example data.
Examples
impactr_example()
#> [1] "hip-raw.csv"
impactr_example("hip-raw.csv")
#> [1] "/private/var/folders/y7/6xbgwg_x6bsdjc8bkfwb1hp00000gn/T/RtmphLJOf2/temp_libpathd85b1e3f7e89/impactr/extdata/hip-raw.csv"