text.radviz: Text annotations for for the Radviz Plots

text.radvizR Documentation

Text annotations for for the Radviz Plots

Description

Text draws the strings given in the vector labels at the coordinates given by the radviz projection

Usage

## S3 method for class 'radviz'
text(
  x,
  ...,
  main = NULL,
  labels = NULL,
  size = FALSE,
  label.color = NULL,
  label.size = NULL,
  adj,
  pos,
  offset,
  vfont,
  cex,
  col,
  font,
  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 if add is TRUE

labels

the name of the variable used for labeling (see details)

size

[Logical] if TRUE labels are sized after the number of points they correspond to

label.color

the color of springs for visualization

label.size

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

adj

deprecated, see geom_text instead

pos

deprecated, see geom_text instead

offset

deprecated, see geom_text instead

vfont

deprecated, see geom_text instead

cex

deprecated, see geom_text instead

col

deprecated, see geom_text instead

font

deprecated, see geom_text instead

add

deprecated, see geom_text instead

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)
text(rv,labels='Species')


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