interact: Make a explore-plot interactive

View source: R/explore.R

interactR Documentation

Make a explore-plot interactive

Description

Make a explore-plot interactive

Usage

interact(obj, lower_title = TRUE, hide_geom_text = TRUE)

Arguments

obj

A object (e.g. ggplot2-object)

lower_title

Lowering the title in ggplot2-object(FALSE/TRUE)

hide_geom_text

Hiding geom_text in ggplot2-object (FALSE/TRUE)

Value

Plot object

Examples

library(dplyr)
if (interactive())  {
   iris %>% explore(Sepal.Length, target = Species) %>% interact()
}

rolkra/explore documentation built on April 17, 2024, 10:58 p.m.