text_stage: Create a stage which does nothing but display HTML to the...

Description Usage Arguments Details Value See Also

Description

A text stage presents some HTML once to each subject.

Usage

1
text_stage(page, wait = FALSE, name = "No name")

Arguments

page

A character vector containing HTML, or a function to be called with parameters id, period, params.

wait

Wait to move on?

name

optional name of the stage.

Details

It is always safe to call next_stage on a participant who is at a TextStage.

Functions such as b_brew can be used as arguments to page.

Value

An object of class TextStage. When called the first time, this will display the HTML in file or text to the participant. If wait is FALSE (the default), subsequent calls will return NEXT. If wait is TRUE, subsequent calls return the same page.

See Also

Other stages: NEXT, WAIT, stage; checkpoint; form_stage; period; program; timed


hughjonesd/betr documentation built on May 17, 2019, 9:11 p.m.