a data matrix. Should contain numerical (continuous) data.
columns
an option to choose the column to be used in the raw dataset. Defaults to 1:ncol(data).
color
an option to group the dataset by the factor variable and color them by different colors.
Defaults to NULL, i.e. no coloring. If supplied, it will be converted to a factor.
alpha
an option to set the transparency in scatterplots for large data. Defaults to 1.
# small function to display plots only if it's interactivep_ <- GGally::print_if_interactive
data(flea)
p_(ggscatmat(flea, columns = 2:4))
p_(ggscatmat(flea, columns = 2:4, color = "species"))