createPage: Create HTML Logic for a Page Prepared with 'createPageList'

Description Usage Arguments Value

View source: R/create_page.R

Description

Create a html page from the list given to pageList.

Usage

1
createPage(pageList, pageNumber, globId, ctrlVals, continueButton = TRUE)

Arguments

pageList

list. Either returned by createPageList or of the same structure.

pageNumber

integer. The current page number of this page id. Usually the one returned by createCtrlList where the page id was specified in the globIds argument.

globId

string. The global Id of the current page or questionnaire.

ctrlVals

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

continueButton

logical. If TRUE (default) a continue button is added at the bottom of the page.

Value

An html page that can be displayed by the shiny app.


ndphillips/ShinyPsych documentation built on Feb. 14, 2022, 5:53 p.m.