stat_unchull0 | R Documentation |
A ggplot function used to get a hull of input set of points. The hull can be non-convex.
stat_unchull0(
mapping = NULL,
data = NULL,
geom = "polygon",
position = "identity",
na.rm = F,
show.legend = NA,
inherit.aes = T,
nbin = 100,
nsm = 10,
addsm = 1,
qval = 0.95,
sfac = 1.5,
...
)
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 to display the data, either as a
|
position |
Position adjustment, either as a string naming the adjustment
(e.g. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
nbin |
number of points used to shape the hull, default 100 |
nsm |
number of points used to perform convolution, should less than |
addsm |
number of additional times of convolution performed, default 1 |
qval |
quantile of each sector, used to determine the edge of the hull, should less than 1, default 0.95 |
sfac |
expansion size factor, larger value means bigger hull, default 1.5 |
... |
Other arguments passed on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.