| scatmat {GGally} | R Documentation |
function for making scatterplots in the lower triangle and diagonal density plots.
scatmat(data, columns = 1:ncol(data), color = NULL)
data |
a data matrix. Should contain numerical (continuous) data. |
columns |
an option to choose the column to be used in the raw dataset. Defaults to |
color |
an option to group the dataset by the factor variable and color them by different colors. Defaults to |
Mengjia Ni, Di Cook dicook@iastate.edu
data(flea) scatmat(flea, columns=2:4) scatmat(flea, columns= 2:4, color="species")