explore: Data Exploration plots

Description Usage Arguments Examples

View source: R/plot_exploration.R

Description

This is a simple function that produced plots that may help you to understand the shape of your dataset. Today, 3 plots are implemented;(1) a small histogram for each features, (2) a correlation matrix and (3) a 2-Dimension Hexbin Frequency.

Usage

1
explore(data, type = "histogram", keep = NULL, drop = NULL, ...)

Arguments

data

is the data frame containing the observations. Each row represents an observation and each variable is stored in one column.

type

one of "histogram", "correlation"

keep

character vector: names of columns to keep (filter)

drop

character vector: names of columns to drop (filter)

...

is additional arguments to be passed to internal functions. Currently only col.fill and bins for histograms.

Examples

1
2
3
4
5
## Not run: 
explore(BudgetUK, type ="hist")
explore(BudgetUK, type ="cor",drop="children")

## End(Not run)

stranger documentation built on March 18, 2018, 2:01 p.m.