screen_template: Define templates for individual screens

Description Usage Arguments Value

View source: R/define_screen.R

Description

This function defines what occurs on the individual screens within a trial.

Usage

1
screen_template(screen_type, screen_duration, ui)

Arguments

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

Value

A list defining the template for the screen type.


jdtrat/taskdesignr documentation built on Feb. 4, 2021, 9:48 p.m.