create_MPI | R Documentation |
Create Measurement Period Information
create_MPI(binfile, binfile_path, output_folder, out_rds = TRUE)
binfile |
Text lines read from an open connection to a bin file. |
binfile_path |
Path to the bin file to be processed. |
output_folder |
Folder to write MPI file in. |
out_rds |
Allows RDS output to be saved during MPI creation. |
Function to create measurement period information (MPI) from a GENEActiv bin file
List of measurement period information.
binfile_path <- system.file("inst/extdata/20Hz_file.bin", package = "GENEAcore")
con <- file(binfile_path, "r")
binfile <- readLines(con, skipNul = TRUE)
close(con)
MPI <- create_MPI(binfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.