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

View source: R/ggbrain_layer.R

ggplot_add.ggbrain_layerR Documentation

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

Description

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

Usage

## S3 method for class 'ggbrain_layer'
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


ggbrain documentation built on April 4, 2025, 5:03 a.m.