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

View source: R/FG_Server.R

fers_builderR Documentation

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)

Arguments

state

FG state from FG_fetch_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

Examples


sess_res = FG_test_mksession()
state = sess_res$state
fb_res = fers_builder(state)


formods documentation built on April 12, 2025, 1:57 a.m.