View source: R/availablePlots.R
availablePlots | R Documentation |
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
availablePlots()
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
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 ;)
a data frame with information about all available plots
availablePlots()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.