as_timeseries {wearables} | R Documentation |
Convert an E4 data stream to a timeseries
Description
Creates an xts object indexed by time
Usage
as_timeseries(data, index = 2, name_col = "V1")
Arguments
data |
A dataframe, subelements of list as output by read_e4 function |
index |
Which column (integer) to use as the data in the timeseries. Default: 2. |
name_col |
Column name to give to the timeseries data. |
[Package wearables version 0.8.1 Index]