
ggscatmat
functionfunction for making the melted dataset used to plot the lowertriangle scatterplots.
lowertriangle(data, columns = 1:ncol(data), color = NULL)
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)
an option to choose a factor variable to be grouped with. Defaults to (NULL)
Mengjia Ni, Di Cook
data(flea)
head(lowertriangle(flea, columns = 2:4))
head(lowertriangle(flea))
head(lowertriangle(flea, color = "species"))
Run the code above in your browser using DataLab