impactr_example {impactr}R Documentation

Get path to example data

Description

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()
impactr_example("hip-raw.csv")

[Package impactr version 0.4.2 Index]