hexplot {Radviz} | R Documentation |
A hexplot function for Radviz objects
Description
Plots the Dimensional Anchors and a hexplot-based density representation of projected data points in a 2D space.
Usage
hexplot(
x,
main = NULL,
nbins = 30,
color = NULL,
label.color = NULL,
label.size = NULL,
mincnt,
style
)
Arguments
x |
a radviz object as produced by do.radviz |
main |
[Optional] a title to the graph, displayed on top |
nbins |
the number of equally spaced bins for the binning computation (see geom_hex for details) |
color |
if color is not |
label.color |
the color of springs for visualization |
label.size |
the size of the anchors (see customizing ggplot2 for details on default value) |
mincnt |
deprecated, see |
style |
deprecated, see |
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)
hexplot(rv,color='Sepal.Length')
[Package Radviz version 0.9.3 Index]