Commit d6dec6df authored by Holger Brandl's avatar Holger Brandl

fixed namespace problem

parent 2225676a
#require_auto(ggplot2)
#require_auto(scales)
#require_auto(grid)
scale_fill_redgreed <- function() scale_fill_manual(values = c("red","darkgreen"))
......@@ -49,7 +48,8 @@ multiplot <- function(..., plotlist=NULL, file, cols=1, layout=NULL) {
} else {
# Set up the page
grid.newpage()
grid::grid.newpage()
pushViewport(viewport(layout = grid.layout(nrow(layout), ncol(layout))))
# Make each plot, in the correct location
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment