set_user_mode: Sets user mode

set_user_modeR Documentation

Sets user mode

Description

Sets the users mode to a new value (training, testing, coding, checking, ideal).

Usage

set_user_mode(user_id, new_mode)

Arguments

user_id

Id of the user whose mode to set or a vector of user ids.

new_mode

The new mode (one of: training, testing, coding, checking, ideal) to set as the users mode(s). For multiple users either a single value should be given to be assigned to all identified users, or a vector of values should be given of the same length as the vector of user_ids.


gidonc/durhamevp documentation built on April 8, 2022, 10:31 a.m.