dot-dfeCustomMessage: Send Information from R Session to Browser

Description Usage Arguments Value

Description

Sends outcome values for the decisions from experience task, to the browser where they are then processed and displayed by using java script.

Usage

1
.dfeCustomMessage(Opts, contrlVals, sess, containerOb, signCols)

Arguments

Opts

integer. The number of options to choose from.

contrlVals

list of reactive values. Controls the flow through the Experiment. Can be created with createCtrlList.

sess

The session object from the shiny app.

containerOb

list. Containing the outcomes. Can be created by calling createDfeList.

signCols

numeric. Controls the color of the outcome values displayed. There are two options: 1 means negative values will be displayed in red zeros in gray and positive values in green. A value other than 1 means that all outcomes are displayed in black.

Value

Sends information to javascript where it is processed.


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