When trying to create a scatter matrix in R, I am using the pairs function inputting columns 1, 6, 11, and 14 as so:
pairs(~ 1 + 6 + 11 + 14, data = housing.