createBanditCtrlList: Create a List of Reactive Values for Bandit Task Control

Description Usage Arguments Value

View source: R/create_bandit_ctrl_list.R

Description

Create a list of reactive values (see reactiveValues or https://shiny.rstudio.com/reference/shiny/latest/reactiveValues.html) to later store the task values in. Additional variables can be specified.

Usage

1
createBanditCtrlList(oVar = NULL, oVarVals = NULL)

Arguments

oVar

string. Vector with names of additional variables you want to add to the control list.

oVarVals

string or numeric. Vector with values that should be appended to the list of reactive values on the positions specified in oVar.

Value

A list of reactive values.


mdsteiner/ShinyPsych documentation built on Feb. 12, 2022, 2:09 p.m.