plot.TukeyRegion {TukeyRegion} | R Documentation |
Plot the Tukey Region
Description
Plots the two-dimensional and the three-dimensional Tukey region.
Usage
## 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, ...)
Arguments
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. |
Details
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
.
Author(s)
Pavlo Mozharovskyi <pavlo.mozharovskyi@ensai.fr>
See Also
Examples
# See examples in TukeyRegion or TukeyMedian