register_insitu_subplot_module: Register an interface for drawing a subplot within...

Description Usage Arguments See Also

View source: R/GUI-PLOTTING-SUBPLOTS.R

Description

Note that this function is not persistent. You must re-register in every R session you wish to use this plot type.

Usage

1
register_insitu_subplot_module(name, uiFunction, serverFunction)

Arguments

name

Name of the plot type

uiFunction

Shiny module UI function that takes an id parameter and returns a tagList.

serverFunction

Shiny module server function that takes data and data_name reactive parameters and returns a list with items:

plotFunc

Function to draw the plot. Must be compatible with layout.

script

reactive that returns a string containing the code to draw the plot

See Also

http://shiny.rstudio.com/articles/modules.htm


jmstrat/NMR.Utils documentation built on July 14, 2019, 11:35 p.m.