ggpairs: Create scatterplot matrix in Brattle format

Description Usage Arguments Details Author(s) See Also Examples

Description

Crate a Brattle-formatted scatterplot matrix

Usage

1
ggpairs(data, columns = colnames(data), distinct_threshold = 3)

Arguments

data

Data frame

columns

Character vector of column names to include in plot

distinct_threshold

Maximum number of distinct values for non-factors to be treated as factors for plotting

Details

The diagonal terms are histograms for each variable. The upper triangle shows correlation among continuous variables and is blank if either variable is discrete. The lower diagnoal is:

Author(s)

Charlie Gibbons

See Also

ggpairs from the GGally package

Examples

1
ggpairs(diamonds, c("carat", "price", "cut"))

Brattle/BrattleExtras documentation built on Oct. 17, 2018, 8:58 a.m.