View source: R/scatterplotcontrols.R
| scatterplotcontrolsInput | R Documentation | 
This module provides controls (2D/3D, axes etc) for scatter plots, which may then be used by one or more instances of the scatterplot module.
scatterplotcontrolsInput(id, allow_3d = TRUE, make_colors = FALSE)
id | 
 Submodule namespace  | 
allow_3d | 
 Boolean: allow user to choose 3D plotting?  | 
make_colors | 
 Boolean: add controls for coloring?  | 
output An HTML tag object that can be rendered as HTML using as.character()
scatterplotcontrolsInput("pca", allow_3d = FALSE) # for a 2D plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.