http://tristenmusic.com/wp-content/themes/listingo/js/listingo_callbacks.js scatter plot equivalent to pairs() by ggplot.
Wardha http://stackoverflow.com/questions/3735286/pairs-equivalent-in-ggplot2
Hadley recommends using the GGally package instead. It has a function, ggpairs that is a vastly improved pairs plot (lets you use non-continuous variables in your data frames). It plots different plots in each square, depending on the variable types: