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

Description

Code to create a scatterplot matrix (experimental)

Examples

plotmatrix(mtcars[, 1:3])

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