as_timeseries: Convert an E4 data stream to a timeseries

Description Usage Arguments

View source: R/as_timeseries.R

Description

Creates an xts object indexed by time

Usage

1
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.


wearables documentation built on Dec. 20, 2021, 5:08 p.m.