explore_all: Explore all variables

View source: R/explore.R

explore_allR Documentation

Explore all variables

Description

Explore all variables of a dataset (create plots)

Usage

explore_all(data, n, target, ncol = 2, targetpct, 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)

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)

explore documentation built on Oct. 11, 2023, 9:07 a.m.