geom_serialaxes_glyph {ggmulti} | R Documentation |
Add serial axes glyphs on scatter plot
Description
To visualize high dimensional data on scatterplot. Each point glyph is surrounded by a serial axes (parallel axes or radial axes) object.
Usage
geom_serialaxes_glyph(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
...,
serialaxes.data,
axes.sequence = character(0L),
scaling = c("data", "variable", "observation", "none"),
axes.layout = c("parallel", "radial"),
andrews = FALSE,
show.axes = FALSE,
show.enclosing = FALSE,
linewidth = 1,
axescolour = "black",
bboxcolour = "black",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
Arguments
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
The statistical transformation to use on the data for this
layer, either as a |
position |
Position adjustment, either as a string naming the adjustment
(e.g. |
... |
Other arguments passed on to |
serialaxes.data |
a serial axes numerical data set.
If not provided, a point visual ( |
axes.sequence |
A vector to define the axes sequence. In serial axes coordinate, the sequence can be either
determined in |
scaling |
one of |
axes.layout |
either "radial" or "parallel" |
andrews |
Logical; Andrew's plot (a Fourier transformation) |
show.axes |
boolean to indicate whether axes should be shown or not |
show.enclosing |
boolean to indicate whether enclosing should be shown or not |
linewidth |
line width of the "glyph" object |
axescolour |
axes color |
bboxcolour |
bounding box color |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
Value
a geom
layer
Aesthetics
geom_..._glyph() understands the following aesthetics (required aesthetics are in bold):
x
y
alpha
colour
fill
group
size
linetype
shape
stroke
The size unit is cm
Note that the shape and stroke do not have real meanings unless the essential
argument serialaxes.data
is missing. If so, a point visual will be displayed with
corresponding shape and stroke.
See Also
geom_polygon_glyph
, geom_image_glyph
Examples
# serial axes glyph
p <- ggplot(data = iris,
mapping = aes(x = Sepal.Length, y = Sepal.Width, colour = Species)) +
geom_serialaxes_glyph(serialaxes.data = iris[, -5],
axes.layout = "radial")
p