print.ggmatrix: Print 'ggmatrix' object

print.ggmatrixR Documentation

Print ggmatrix object

Description

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

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

data(tips)
pMat <- ggpairs(tips, c(1, 3, 2), mapping = ggplot2::aes(color = sex))
pMat # calls print(pMat), which calls print.ggmatrix(pMat)

GGally documentation built on Aug. 23, 2025, 9:08 a.m.