calc_focus_state: Calculates the focus state.

Description Usage Arguments Value

Description

Given a data.frame of user event and an associated timeline, for each second of the timeline it calculates if the user window had focus or not.

Usage

1
calc_focus_state(user_events, timeline)

Arguments

user_events

data.frame of user events.

timeline

data.frame that described the state in one second intervals.

Value

An updated timeline data.frame with the focus state set.


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