powered by
ggmatrix
Print method taken from ggplot2:::print.ggplot and altered for a ggmatrix object
ggplot2:::print.ggplot
# S3 method for 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
ggmatrix_gtable
Barret Schloerke
data(tips) pMat <- ggpairs(tips, c(1, 3, 2), mapping = ggplot2::aes(color = sex)) pMat # calls print(pMat), which calls print.ggmatrix(pMat)
Run the code above in your browser using DataLab