as_timeseries: 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.