explore_all {explore}R Documentation

Explore all variables

Description

Explore all variables of a dataset (create plots)

Usage

explore_all(
  data,
  n,
  target,
  ncol = 2,
  targetpct,
  color = c("lightgrey", "#939FB9"),
  split = TRUE
)

Arguments

data

A dataset

n

Weights variable (only for count data)

target

Target variable (0/1 or FALSE/TRUE)

ncol

Layout of plots (number of columns)

targetpct

Plot variable as target% (FALSE/TRUE)

color

Forece a default color (if possible)

split

Split by target (TRUE|FALSE)

Value

Plot

Examples

explore_all(iris)

iris$is_virginica <- ifelse(iris$Species == "virginica", 1, 0)
explore_all(iris, target = is_virginica)

[Package explore version 1.3.0 Index]