contour.radviz: Plots the Dimensional Anchors and density lines for projected...

View source: R/contour.radviz.R

contour.radvizR Documentation

Plots the Dimensional Anchors and density lines for projected data points in a 2D space.

Description

Plots the Dimensional Anchors and density lines for projected data points in a 2D space.

Usage

## S3 method for class 'radviz'
contour(
  x,
  ...,
  main = NULL,
  color = NULL,
  size = 0.5,
  label.color = NULL,
  label.size = NULL,
  contour.color,
  contour.size,
  point.color,
  point.shape,
  point.size,
  n,
  drawlabels,
  drawpoints,
  add
)

Arguments

x

a radviz object as produced by do.radviz

...

further arguments to be passed to or from other methods (not implemented)

main

[Optional] a title to the graph, displayed on top

color

the variable in the Radviz projection used to color the contours

size

The thickness of contour lines

label.color

the color of springs for visualization

label.size

the size of the anchors (see customizing ggplot2 for details on default value)

contour.color

deprecated, see geom_density2d instead

contour.size

deprecated, see geom_density2d instead

point.color

deprecated, see geom_density2d instead

point.shape

deprecated, see geom_density2d instead

point.size

deprecated, see geom_density2d instead

n

deprecated, see geom_density2d instead

drawlabels

deprecated, see geom_density2d instead

drawpoints

deprecated, see geom_density2d instead

add

deprecated, see geom_density2d instead

Value

the internal ggplot2 object plus added layers, allowing for extra geoms to be added

Author(s)

Yann Abraham

Examples

data(iris)
das <- c('Sepal.Length','Sepal.Width','Petal.Length','Petal.Width')
S <- make.S(das)
rv <- do.radviz(iris,S)
contour(rv,color='Species')


Radviz documentation built on March 26, 2022, 1:10 a.m.