shiny.loon-deprecated | R Documentation |
Package loon.shiny
only provides one exported function. To make it easier for
users to remember, we decide to name the function with the selfsame name, loon.shiny
.
shiny.loon( widgets, selectBy = c("byDefault", "brushing", "sweeping"), showWorldView = TRUE, plotRegionWidth = "500px", plotRegionHeight = "500px", plotRegionBackground = "gray92", layoutMatrix = NULL, nrow = NULL, ncol = NULL, widths = NULL, heights = NULL, displayedPanel = "", colorList = loon::l_getColorList(), inspectorLocation = c("auto", "auto", "60px", "20px"), inspectorWidth = "350px", inspectorHeight = "auto", options = list(), ... )
widgets |
A |
selectBy |
The way to brush, can be 'brushing' (keep the brush whenever the plot is updated),
'sweeping' (clear the brush whenever the plot is updated) or 'byDefault' (determined by |
showWorldView |
Logical; whether to show the world view. |
plotRegionWidth |
Plot region width. Must be a valid |
plotRegionHeight |
Plot region height. |
plotRegionBackground |
Plot region background color |
layoutMatrix |
Optional layout matrix to place |
nrow |
Number of rows, see |
ncol |
Number of columns, see |
widths |
A unit vector giving the width of each plot. |
heights |
A unit vector giving the height of each plot. |
displayedPanel |
A string vector. The default is an empty string |
colorList |
A list of colors displayed on modify panel. |
inspectorLocation |
A length four vector representing the distance between the
|
inspectorWidth |
Width of the inspector panel. |
inspectorHeight |
Height of the inspector panel. |
options |
|
... |
Named arguments to modify shiny app. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.