create_time_datatable: Create an empty timeline

Description Usage Arguments Value

Description

Goes over the events and slide_transitions to produce a timeline with one second intervals from startDate to endDate that holds 6 state indicators: hasExercise, connected, focus, idle, input and submitted.

Usage

1
create_time_datatable(from, to, slide_transitions)

Arguments

from

POSIXct First timestamp of the timeline.

to

POSIXct Second timestamp of the timeline.

slide_transitions

data.frame Contains slide transitions.

Value

A data.table with the concatenated timelinesof all the users.


triglian/asqr documentation built on May 31, 2019, 7:53 p.m.