Description Usage Arguments Value
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.
1 | calc_focus_state(user_events, timeline)
|
user_events |
|
timeline |
|
An updated timeline data.frame
with the focus state set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.