print.ggmatrix: Print ggpair object

Description Usage Arguments Author(s) Examples

View source: R/ggmatrix_print.R

Description

Print method taken from ggplot2:::print.ggplot and altered for a ggmatrix object

Usage

1
2
## S3 method for class 'ggmatrix'
print(x, newpage = is.null(vp), vp = NULL, ...)

Arguments

x

plot to display

newpage

draw new (empty) page first?

vp

viewport to draw plot in

...

arguments passed onto ggmatrix_gtable

Author(s)

Barret Schloerke

Examples

1
2
3
 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)

GGally documentation built on May 20, 2017, 2:14 a.m.

Search within the GGally package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.