ggplot_add.ggbrain_label: S3 method to support adding ggbrain_label objects to an...

View source: R/ggbrain_label.R

ggplot_add.ggbrain_labelR Documentation

S3 method to support adding ggbrain_label objects to an existing ggplot object

Description

S3 method to support adding ggbrain_label objects to an existing ggplot object

Usage

## S3 method for class 'ggbrain_label'
ggplot_add(object, plot, object_name)

Arguments

object

the ggbrain_layer object to be added to an existing ggplot

plot

the ggplot object

object_name

not used, but required by ggplot_add


michaelhallquist/ggbrain documentation built on June 11, 2025, 12:47 a.m.