ggdistr: Plot the distribution (geom_histogram) of each column in the...

Description Usage Arguments Value Examples

View source: R/ggdistr.R

Description

ggdistr plot the data distribution (histogram/bar for numeric/categorical variables)

Usage

1
ggdistr(data, n_sample = NULL, ncol = 3, sample_seed = 123, ...)

Arguments

data

The data frame used for plot

n_sample

Number of samples used for the plot. If it is NULL, then all records are used

ncol

Number of columns for the plot layout

sample_seed

The seed used for sampling

Value

ggplot of the histogram/bar for all variables

Examples

1
2
data <- rpart::stagec
ggdistr(data)

JianhuaHuang/streamit documentation built on May 7, 2019, 10:40 a.m.