View source: R/ggmatrix_print.R
print.ggmatrix | R Documentation |
ggmatrix
objectPrint 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, ...)
x |
plot to display |
newpage |
draw new (empty) page first? |
vp |
viewport to draw plot in |
... |
arguments passed onto |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.