remove_geom: Remove GEOM From 'ggplot' Object

Description Usage Arguments Details Author(s)

View source: R/geom_remove.R

Description

This function removes a GEOM from a ggplot object, something that is useful in conjunction with automated gg tools like ggtern, ggbiplot, or ggvegan.

Usage

1
remove_geom(ggplot2_object, geom_type)

Arguments

ggplot2_object

A ggplot object.

geom_type

A string. The GEOM.

Details

Use like remove_geom(g1, "GeomText").

Author(s)

Kamil Slowikowski from Stack Overflow.


tpq/miSciTools documentation built on Sept. 16, 2019, 4:43 p.m.