Description Usage Arguments Details Author(s)
This function removes a GEOM from a ggplot object,
something that is useful in conjunction with automated
gg tools like ggtern, ggbiplot,
or ggvegan.
1 | remove_geom(ggplot2_object, geom_type)
|
ggplot2_object |
A |
geom_type |
A string. The GEOM. |
Use like remove_geom(g1, "GeomText").
Kamil Slowikowski from Stack Overflow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.