get_grob_component: get_grob_component

View source: R/get_grob_component.R

get_grob_componentR Documentation

get_grob_component

Description

Function retrieves a grob component from a ggplot2 plot object.

Usage

get_grob_component(a_plot, component_name)

Arguments

a_plot

A ggplot2 plot object

component_name

A string that sets the components name

Value

A grob object

Author(s)

Rick Dean


deandevl/RplotterPkg documentation built on Feb. 1, 2024, 8:02 p.m.