Print method taken from ggplot2:::print.ggplot and altered for a ggmatrix object
## S3 method for class 'ggmatrix'
print(x, newpage = is.null(vp), vp = NULL, ...)
plot to display
draw new (empty) page first?
viewport to draw plot in
arguments passed onto ggmatrix_gtable
data(tips, package = "reshape")
pMat <- ggpairs(tips, c(1,3,2), mapping = ggplot2::aes_string(color = "sex"))
pMat # calls print(pMat), which calls print.ggmatrix(pMat)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.