powered by
function for making scatterplots in the lower triangle and diagonal density plots.
scatmat(data, columns = 1:ncol(data), color = NULL, alpha = 1)
a data matrix. Should contain numerical (continuous) data.
an option to choose the column to be used in the raw dataset. Defaults to 1:ncol(data)
1:ncol(data)
an option to group the dataset by the factor variable and color them by different colors. Defaults to NULL
NULL
an option to set the transparency in scatterplots for large data. Defaults to 1.
1
# NOT RUN { data(flea) scatmat(flea, columns=2:4) scatmat(flea, columns= 2:4, color="species") # }
Run the code above in your browser using DataLab