interact | R Documentation |
Make a explore-plot interactive
interact(obj, lower_title = TRUE, hide_geom_text = TRUE)
obj |
A object (e.g. ggplot2-object) |
lower_title |
Lowering the title in ggplot2-object( |
hide_geom_text |
Hiding geom_text in ggplot2-object ( |
Plot object
library(dplyr)
if (interactive()) {
iris %>% explore(Sepal.Length, target = Species) %>% interact()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.