View source: R/contour.radviz.R
contour.radviz | R Documentation |
Plots the Dimensional Anchors and density lines for projected data points in a 2D space.
## 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 )
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 |
contour.size |
deprecated, see |
point.color |
deprecated, see |
point.shape |
deprecated, see |
point.size |
deprecated, see |
n |
deprecated, see |
drawlabels |
deprecated, see |
drawpoints |
deprecated, see |
add |
deprecated, see |
the internal ggplot2 object plus added layers, allowing for extra geoms to be added
Yann Abraham
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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.