Description Usage Arguments Value Examples
Launch an interactive shiny gadget that lets you build a ggplot2 plot from the given data. This function is also callable using an RStudio Addin – you can high-light a data-frame object and select the "gogoplot" addin.
1 |
.data |
a data-frame to visualize |
popup |
logical value to display the UI as a pop-up window. The default is FALSE, which will show the UI in the Viewer pane. |
width |
width of the pop-up window, in pixels. |
height |
height of the pop-up window, in pixels. |
When using RStudio, the generated plot code is inserted at your
cursor using the rstudioapi insertText
function. Outside of RStudio, the code is printed as a message.
Plot code is also invisibly returned as a string, if you want
to capture the return object.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.