I am using the following code in R with the gplots package:
pdf("filepath")
plot(graph)
textplot(table, cmar=1)
title("My title")
dev.off()
My goal is to have a 2-page pdf file with the plot on page 1 and the table with a title on page 2. Everything works except the title. When I run just:
textplot(table, cmar=1)
title("My title")
It properly displays what I would expect the output to be.
Thanks