getPlot

Description

Retrieves the ggplot object at the desired location.

Usage

1
2
3
4
getPlot(pm, i, j)

## S3 method for class 'ggmatrix'
pm[i, j, ...]

Arguments

pm

ggpair object to select from

i

row from the top

j

column from the left

...

ignored

Author(s)

Barret Schloerke schloerke@gmail.com

Examples

1
2
3
 data(tips, package = "reshape")
 plotMatrix2 <- ggpairs(tips[, 3:2], upper = list(combo = "denstrip"))
 plotMatrix2[1, 2]

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.