import_enmo_csv | R Documentation |
import_enmo_csv
imports ENMO data stored in a summary csv format,
which was exported by the
biobank
data analysis tools.
import_enmo_csv(filepath, enmo_col = 2)
filepath |
string. The filepath of the input data. |
enmo_col |
number. The index of column of ENMO values in the csv file. |
dataframe. The imported ENMO data, with the first column being the
timestamps in POSIXct format, and the second column being the ENMO values.
Column names: HEADER_TIME_STAMP
, ENMO
.
This function is a File IO function that is used to import ENMO data from activity monitor devices during algorithm validation.
Other File I/O functions:
export_to_actilife()
,
import_actigraph_count_csv()
,
import_actigraph_csv_chunked()
,
import_actigraph_csv()
,
import_actigraph_meta()
,
import_activpal3_csv()
,
import_mhealth_csv_chunked()
,
import_mhealth_csv()
# Use the enmo csv file shipped with the package filepath = system.file('extdata', 'enmo.csv', package='MIMSunit') # Check original data format readLines(filepath)[1:5] # Load file, default column for enmo values are 2 output = import_enmo_csv(filepath, enmo_col=2) # Check output head(output)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.