Created
February 22, 2012 23:33
-
-
Save briandk/1888374 to your computer and use it in GitHub Desktop.
Testing print.four.plots.per.page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(granovaGG) | |
# Explicitly printing four plots per page | |
pdf(file="~/Desktop/BrianTest1.pdf", onefile = TRUE) | |
data(rat) | |
fake.contrasts <- matrix(c(1, 1, 1, -1, -1, -1, -1, 1, 0, -1, 1, 0, 1, 1, -2, | |
1, 1, -2, -1, 1, 0, 1, -1, 0, 1, 1, -2, -1, -1, 2), ncol = 5) | |
fake.contrasts <- fake.contrasts[ ,1:3] | |
granovagg.contr(data = rat[ ,1], | |
contrasts = fake.contrasts, | |
print.four.plots.per.page = TRUE | |
) | |
"" | |
dev.off() | |
# Setting print.four.plots.per.page to FALSE | |
pdf(file="~/Desktop/BrianTest2.pdf", onefile = TRUE) | |
granovagg.contr(data = rat[ ,1], | |
contrasts = fake.contrasts, | |
print.four.plots.per.page = FALSE | |
) | |
dev.off() | |
sessionInfo() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment