View source: R/multivariate_ggvis_ggbiplot_geoms.R
stat_centroid | R Documentation |
Title
stat_centroid(mapping = NULL, data = NULL, geom = "text",
position = "identity", na.rm = FALSE, show.legend = NA,
inherit.aes = TRUE, ...)
mapping |
typical mapping construct for ggplots. Typical in the form of "aes(x=, y=, color=, ...)" |
data |
data to plot |
geom |
how to visualize the data. "point" for points, "text" for labels |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. In these plots this will mostly be "identity" |
na.rm |
If FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed. |
show.legend |
logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, and TRUE always includes. |
inherit.aes |
If FALSE, overrides the default aesthetics, rather than combining with them. For creating a biplot this should be FALSE. |
... |
other arguments passed on to layer. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.