smoothRadviz {Radviz} | R Documentation |
A smoothScatter function for Radviz objects
Description
Plots the Dimensional Anchors and a smoothed color density representation of projected data points in a 2D space.
Usage
smoothRadviz(
x,
main = NULL,
color = "dodgerblue4",
nbin = 200,
label.color = NULL,
label.size = NULL,
smooth.color,
max.dens,
transformation,
nrpoints,
ncols,
bandwidth
)
Arguments
x |
a radviz object as produced by |
main |
[Optional] a title to the graph, displayed on top |
color |
the gradient will be generated from |
nbin |
the number of equally spaced grid points for the density
estimation (see |
label.color |
the color of springs for visualization |
label.size |
the size of the anchors (see customizing ggplot2 for details on default value) |
smooth.color |
deprecated, see |
max.dens |
deprecated, see |
transformation |
deprecated, see |
nrpoints |
deprecated, see |
ncols |
deprecated, see |
bandwidth |
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)
smoothRadviz(rv)