This function writes the csv file of the automatically labeled activity and pressure which can be read with TRAINSET (https://trainset.geocene.com/).
Usage
trainset_write(
pam,
pathname = "data/1_pressure/labels/",
filename = paste0(pam$id, "_act_pres")
)
Arguments
- pam
pam logger dataset list
- pathname
Path to the folder where the labeled files should be saved
- filename
Name for the file.
Details
Optionally, it can also export a reference dataset for pressure pam$pressure$ref
as another
series to be visualized on TRAINSET, but without impacting the labeling process.
Examples
pam <- pam_read(
pathname = system.file(
"extdata/0_PAM/18LX",
package = "GeoPressureR"
)
)
trainset_write(pam, pathname = system.file("extdata/1_pressure/labels/",
package = "GeoPressureR"
))