Learn R Programming

ggbrain (version 0.9.0)

+.ggb: addition operator for ggb object to support ggplot-like syntax

Description

addition operator for ggb object to support ggplot-like syntax

Usage

# S3 method for ggb
+(o1, o2)

Value

a modified version of the o1 object with o2 added to it

Arguments

o1

the first object inheriting the ggb class

o2

the second object inheriting the ggb class

Details

Note that the addition operator always clones the underlying o1 object rather than modifying it in place