calc_state_from_indicators: Calculates the total state from state indicators.

Description Usage Arguments Value

Description

Creates a 7 bit number according to the value of the 7 vars: hasExercise, visible, connected, focus, idle, input and submitted.

Usage

1
2
calc_state_from_indicators(hasExercise, connected, visible, focus, idle, input,
  submitted)

Arguments

hasExercise

Logical whether there is an exercise or not.

connected

Logical whether the user is connected or not.

visible

Logical whether the ASQ window is visible or not

focus

Logical whether the ASQ window has focus or not

idle

Logical whether the user is idle or not.

input

Logical whether the user is giving input or not.

submitted

Logical whether the user has submitted or not.

Value

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


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