set_user_mode | R Documentation |
Sets the users mode to a new value (training, testing, coding, checking, ideal).
set_user_mode(user_id, new_mode)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.