Use pairs() on a formula object

USAGE:

pairs.formula(x, data, ...) 

This is a method for the function pairs() for objects inheriting from class formula. It operates just by creating the model frame corresponding to the formula, and then calling the pairs() method for data frames.