Learn R Programming

formods (version 0.2.1)

fers_builder: Builds a Figure Element R Statement From UI Elements:

Description

Takes the current ui elements and constructs the appropriate ggplot commands forom the user input. The plot commands assume the existance of a ggplot object p.

Usage

fers_builder(state)

Value

list containing the following elements

  • isgood: Return status of the function.

  • cmd: ggplot R command as a character string

  • element: The type of element being added

  • pll: Preload list (pll) containing components to save with mk_preload.

  • desc: Verbose description of the element

  • msgs: Messages to be passed back to the user

Arguments

state

FG state from FG_fetch_state()

Examples

Run this code
# \donttest{
sess_res = FG_test_mksession()
state = sess_res$state
fb_res = fers_builder(state)
# }

Run the code above in your browser using DataLab