powered by
Scatter plots of the observations are plotted by selecting pairs of dimensions, potentially colored by a known classification.
plotScatter(x, z, label = "", trim = 0)
NULL
A matrix or data.frame; the data consisting of metric variables.
A vector; indicating the color to use for the observations.
A character string; the text to include in the axes labels.
A scalar numeric in \([0, 0.5)\); trimming to use for quantiles to determine axes.
plotScatter(iris[, 1:4], iris$Species, label = "dim")
Run the code above in your browser using DataLab