View source: R/ggdrawPolygon.R
ggdrawPolygon | R Documentation |
ggplot2
based graphggdrawPolygon
: Draws a Polygon in a
ggplot2
-based factorial graph (e.g., from CA or PCA).
ggdrawPolygon( F, order2draw = 1:nrow(F), color = "darkorchid", linetype = 3, size = 0.5, fill = "darkorchid", alpha = 0.2, ... )
F |
a set of 2-dimensional coordinates |
order2draw |
(Default: |
color |
(Default: 'darkorchid') the color of the line of the polygon. |
linetype |
(Default: |
size |
(Default: |
fill |
(Default: |
alpha |
(Default: |
... |
other stuff to be passed to |
ggdrawPolygon
is mostly a wraper
around ggplot2::geom_polygon
.
a polygon to be added to a ggplots2
image.
Hervé Abdi
geom_polygon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.