getTitleGrobs: Pull out the title and subtitle grobs for a ggplot2 plot

View source: R/ggMarginal_Hist2D.R

getTitleGrobsR Documentation

Pull out the title and subtitle grobs for a ggplot2 plot

Description

Function to pull out the title and subtitle grobs for a ggplot2 plot, after check to make sure there is a title.

Usage

getTitleGrobs(p)

Arguments

p

- plot

Details

Copied from ggExtra. Created by Dean Attali ("daattali@gmail.com").


wStockhausen/wtsPlots documentation built on July 19, 2023, 8:15 p.m.