powered by
Text draws the strings given in the vector labels at the coordinates given by the radviz projection
# S3 method for radviz text( x, ..., main = NULL, labels = NULL, size = FALSE, label.color = NULL, label.size = NULL, adj, pos, offset, vfont, cex, col, font, add )
a radviz object as produced by do.radviz
further arguments to be passed to or from other methods (not implemented)
[Optional] a title to the graph, displayed on top if add is TRUE
TRUE
the name of the variable used for labeling (see details)
[Logical] if TRUE labels are sized after the number of points they correspond to
the color of springs for visualization
the size of the anchors (see customizing ggplot2 for details on default value)
deprecated, see geom_text instead
geom_text
# NOT RUN { 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') # }
Run the code above in your browser using DataLab