changePageVariable: Change a Variable from a Page List that

Description Usage Arguments Value

View source: R/change_page_variable.R

Description

Changes a variable from a page list has to be changed e.g. because a code was generated in the current r session.

Usage

1
changePageVariable(pageList, variable, oldLabel, newLabel)

Arguments

pageList

list. Contains information to build a shiny page. Usually created with createPageList.

variable

string. The name of the variable to be changed.

oldLabel

string. Must match the current value of the pageList that should be changed.

newLabel

An object that will replace the oldLabel in the pageList.

Value

The given pageList with the updated value.


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