Learn R Programming

GGally (version 1.3.2)

getPlot: getPlot

Description

Retrieves the ggplot object at the desired location.

Usage

getPlot(pm, i, j)

# S3 method for ggmatrix [(pm, i, j, ...)

Arguments

pm

ggmatrix object to select from

i

row from the top

j

column from the left

...

ignored

Examples

Run this code
# NOT RUN {
 data(tips, package = "reshape")
 plotMatrix2 <- ggpairs(tips[, 3:2], upper = list(combo = "denstrip"))
 plotMatrix2[1, 2]
# }

Run the code above in your browser using DataLab