powered by
Build a pair plot
PairPlot(d, meas_vars, title, ..., group_var = NULL, palette = "Dark2")
data frame
the variables to be plotted
plot title
not used, forces later arguments to bind by name
variable for grouping and colorcoding
name of a brewer palette (NULL for ggplot2 default coloring)
a ggplot2 pair plot
# NOT RUN { PairPlot(iris, colnames(iris)[1:4], "Example plot", group_var = "Species") # no color-coding PairPlot(iris, colnames(iris)[1:4], "Example plot") # }
Run the code above in your browser using DataLab