Description Usage Arguments Value
View source: R/define_screen.R
This function defines what occurs on the individual screens within a trial.
1 | screen_template(screen_type, screen_duration, ui)
|
screen_type |
A string that describes the component of the trial this applies to. For example, "presentation", "choice", or "outcome". |
screen_duration |
A time (milliseconds) that this screen will be displayed for. Users may also supply a function that returns a numeric (e.g. rpois(1,6000)). |
ui |
A shiny UI object or definition |
A list defining the template for the screen type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.