Description Usage Arguments Details Value
Given a date.frame
timeline where each subsequent row corresponds to
the next a second of a lecture and the events for a single user, it
calculates the state of the user for each second of the lecture as 6
different indicators:
1 | calc_user_state(timeline, user_events, from, to)
|
timeline |
|
user_events |
|
from |
|
to |
|
hasExercise
, connected
, visible
, focus
,
idle
, input
and submitted
.
An updated timeline data.table
with the user states.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.