ggplot2 (version 0.9.2.1)

plotmatrix: Code to create a scatterplot matrix (experimental)

Description

Code to create a scatterplot matrix (experimental)

Usage

plotmatrix(data, mapping = aes(), colour = "black")

Arguments

data
data frame
mapping
any additional aesthetic mappings (do not use x and y)
colour
default point colour

Examples

Run this code
plotmatrix(mtcars[, 1:3])
plotmatrix(mtcars[, 1:3]) + geom_smooth(method="lm")

Run the code above in your browser using DataCamp Workspace