The +.gg methods are described +.gg
These are %+% and %+replace% , which will update / replace elements in ggplot and themes
eg,
p <- ggplot(mtcars, aes(x =wt, y = mpg,colour = hp)) + geom_point() # change the variable mapped to y p %+% aes(y = am) # change the data set p %+% mtcars[1:10,]
Or you can combine items as a list
eg,
source share