Build a pair plot

PairPlot(d, meas_vars, title, ..., group_var = NULL, palette = "Dark2")

Arguments

d

data frame

meas_vars

the variables to be plotted

title

plot title

...

not used, forces later arguments to bind by name

group_var

variable for grouping and colorcoding

palette

name of a brewer palette (NULL for ggplot2 default coloring)

Value

a ggplot2 pair plot

Examples

PairPlot(iris, colnames(iris)[1:4], "Example plot", group_var = "Species")
# no color-coding PairPlot(iris, colnames(iris)[1:4], "Example plot")