View source: R/plot.TukeyRegion.R
plot.TukeyRegion | R Documentation |
Plots the two-dimensional and the three-dimensional Tukey region.
## S3 method for class 'TukeyRegion'
plot(x, newPlot = TRUE, drawPoints = TRUE,
drawRidges = TRUE, colorBackground = "white",
colorPoints = "red", colorFacets = "blue",
colorRidges = "green", lwd = 1, lty = 1, alpha = 1, ...)
x |
object of class |
newPlot |
whether to create a new plot(2D)/scene(3D). |
drawPoints |
whether to show the data points. |
drawRidges |
whether to show the ridges; works for non-triangulated facets only. |
colorBackground |
background color of the plot(2D)/scene(3D). |
colorPoints |
color of the points in case they are shown. |
colorFacets |
color of the facets. |
colorRidges |
color of the facets' ridges in case they are shown. |
lwd |
line width of the facets in 2D. |
lty |
line type of the facets in 2D. |
alpha |
transperency of the facets (and ridges if shown). |
... |
included for compatibility and should not be used. |
If dimension is equal to two, the traditional plot
is produced. If dimension is equal to three, the 3D-scene is produced using the package rgl
.
Pavlo Mozharovskyi <pavlo.mozharovskyi@ensai.fr>
TukeyRegion
, TukeyMedian
# See examples in TukeyRegion or TukeyMedian
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.