plotScatter | R Documentation |
Scatter plots of the observations are plotted by selecting pairs of dimensions, potentially colored by a known classification.
plotScatter(x, z, label = "", trim = 0)
x |
A matrix or data.frame; the data consisting of metric variables. |
z |
A vector; indicating the color to use for the observations. |
label |
A character string; the text to include in the axes labels. |
trim |
A scalar numeric in |
NULL
plotScatter(iris[, 1:4], iris$Species, label = "dim")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.