Description Usage Arguments Value
View source: R/create_bart_page.R
Create an HTML page by using the shiny package and send balloon information
to javascript. To get the ctrlVals list call createCtrlList and
to for the balloonList call createBartList. The function only
works from within a shiny app (i.e. html code will also be produced when
this function is called from outside a shiny app but nothing will be
displayed).
1 | createBartPage(ctrlVals, session, balloonList, RDrawBoundary = TRUE)
|
ctrlVals |
list of reactive values. Controls the flow through the
Experiment. Can be created with |
session |
The session object from a shiny app. |
balloonList |
list. Contains information about the balloons, such as
the pop values. Can be created with |
RDrawBoundary |
logical. If TRUE (default) an outer boundary is drawn to indicate the maximum possible pump value (not the actual pop value of that respective balloon!). |
An html page displayed in the shiny app.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.