| read_AP | R Documentation |
Read an activPAL events file
read_AP(filename, tz = "UTC")
filename |
character. Path to the file |
tz |
character. The timezone to use |
Data frame reflecting the data contained in filename.
There must be a corresponding .def file located in the same
directory as filename
ap_file <- system.file(
"extdata/sampledata_Events.csv",
package = "Sojourn"
)
if (isTRUE(requireNamespace("data.table"))) {
ap_data <- read_AP(ap_file)
utils::head(ap_data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.