Description Usage Arguments Value Note Examples
Read an activPAL events file
1 | 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
1 2 3 4 5 6 7 8 | 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.