availablePlots: availablePlots

View source: R/availablePlots.R

availablePlotsR Documentation

availablePlots

Description

Returns a data frame with columns about the available plots in smvgraph:

  • module: the internal name used. If you want to call the Shiny app then you might need this.

  • label: the label used in the Shiny app

  • help: the R help topic for the plot

  • packages: packages which are required to make the plot

  • code: if code block exists, should always be TRUE

  • ui: if plot specific interactive UI elements exists

  • condition: the condition when a plot is offered in the Shiny app to the user

Usage

availablePlots()

Details

To understand condition:

  • nrow(analysis): the number of variables in "Analysis" field

  • nrow(group): the number of variables in "Grouping by" field

  • xxx$unique: the number of unique values in a variable, for other elements then unique see the "Variable" panel of the Shiny app

smvgraph.png

13 was choosen because twelve has the largest number of divisors below 20 and 43 was choosen because forty-two is the answer of the ultimate question ;)

Value

a data frame with information about all available plots

Examples

availablePlots()

sigbertklinke/smvgraph documentation built on Dec. 10, 2022, 9:13 a.m.