printPlotlist: Prints a list of plots without printing every plot number

Description Usage Arguments Value Examples

View source: R/printPlotlist.R

Description

Prints a list of plots without printing every plot number

Usage

1
printPlotlist(plotlist)

Arguments

plotlist

List of plots

Value

prints multiple plots without printing every plot number

Examples

1
2
3
4
5
6
7
8
9
library(ggplot2)
mat <- matrix(rnorm(300), nrow = 100, ncol = 3)
mat[, 3] <- ifelse(mat[, 3]>0.5, TRUE, FALSE)
mat <- as.data.frame(mat)
p0 <- ggplot(mat, aes(x=V1, y=V2)) + geom_point()
p1 <- ggplot(mat, aes(x=V1, y=V2, col=V3)) + geom_point()
plist <- list(p0,p1)

printPlotlist(plist)

gugl58/basicscriptsGG-Package documentation built on May 17, 2019, 9:08 a.m.