Description Usage Arguments Value Examples
View source: R/shinyPlot_HUC_Example_Plot.R
Description goes here. Notes: the filename should be exactly the same as the function name, with ".R" added on. For example, this function is called "shinyPlot_HUC_Example_Plot". In this case, your filename should be "shinyPlot_HUC_Example_Plot.R". Name formatting: all plot functions should start with "shinyPlot_". If the plot is specific to a single HUC, the name should then follow with "HUC_". If it is for all HUC regions, change "HUC_" to "all_". Then, add on the formal name of the plot that will be visible to the user in the Shiny interface. In this case, that is "Example_Plot". Any underscores in the formal name section will be converted to spaces in the UI.
1 |
x |
Numeric; The values to be plotted. |
col |
Character; The plot color. |
Numeric vector.
1 | shinyPlot_HUC_Example_Plot(x = 1:10, col = 'red')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.