plot.TukeyRegion: Plot the Tukey Region

View source: R/plot.TukeyRegion.R

plot.TukeyRegionR 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 TukeyRegion to be plotted.

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

TukeyRegion, TukeyMedian

Examples

# See examples in TukeyRegion or TukeyMedian

TukeyRegion documentation built on April 18, 2023, 1:10 a.m.