View source: R/plotReducedDimension.R
stat_bag | R Documentation |
Function for convex object.
stat_bag( mapping = NULL, data = NULL, geom = "polygon", position = "identity", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, prop = 0.5, alpha = 0.3, ... )
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
geom |
The geometric object to use display the data |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
na.rm |
boolean; whether to remove NAs. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
prop |
numeric; proportion of all the points to be included in the bag (default is 0.5). |
alpha |
numeric; transparency (between 0 and 1). |
... |
Other arguments passed on to |
ggplot2 layer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.