Nothing
## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----message=FALSE, warning=FALSE---------------------------------------------
library(dplyr)
library(explore)
penguins <- use_data_penguins()
# equivalent to
# penguins <- palmerpenguins::penguins
## ----message=FALSE, warning=FALSE---------------------------------------------
penguins %>% describe()
## -----------------------------------------------------------------------------
data <- penguins %>%
filter(flipper_length_mm > 0)
## ----message=FALSE, warning=FALSE, fig.width=8, fig.height=total_fig_height(data, size = 2.5)----
data %>%
explore_all(color = "skyblue")
## ----message=FALSE, warning=FALSE, fig.width=8, fig.height=total_fig_height(data, var_name_target = "species", size = 2.2)----
data %>%
explore_all(
target = species,
color = c("darkorange", "purple", "lightseagreen"))
## ----message=FALSE, warning=FALSE, fig.width=6, fig.height=4------------------
data %>% explain_tree(target = species)
## ----message=FALSE, warning=FALSE, fig.width=6, fig.height=3------------------
data %>%
explore(
flipper_length_mm, bill_length_mm,
target = species,
color = c("darkorange", "purple", "lightseagreen")
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.