colorFacet(g, col = adjustcolor("blue", alpha.f = 0.3))
arrGrob(...)
## S3 method for class 'arrGrob'
print(x, ...)
Arguments
g
a ggplot2 object that used faceting
col
color for facet separator rectanges
...
passed to arrangeGrob
x
an object created by arrGrob
Author(s)
Sandy Muspratt
Examples
## Not run:
s <- summaryP(age + sex ~ region + treatment)
colorFacet(ggplot(s)) # prints directly
# arrGrob is called by rms::ggplot.Predict and others
## End(Not run)