ggplotFL-multiplot: Calculates confidence intervals for different probabiity...

Description Usage Arguments See Also Examples

Description

A multiple plot function, allowing ggplot2 objects to be plotted together. If the layout is something like matrix(c(1,2,3,3), nrow=2, by.row=TRUE), then plot 1 will go in the upper left, 2 will go in the upper right, and 3 will go all the way across the bottom.

Borrowed with thanks from http://wiki.stdout.org/rcookbook/Graphs/Multiple

Usage

1
  multiplot(..., plotlist=NULL, file, cols=1, layout=NULL)

Arguments

...

ggplot2 objects

plotlist

list of ggplot2 objects

file

character

cols

numeric; number of columns in layout

layout

numeric; A matrix specifying the layout. If present, 'cols' is ignored

See Also

kobePhase,kobeInterp,kobeP

Examples

1
2
3
4
5
6
## Not run: 
a=ggplot(data.frame(x=1:10,y=1:10))+geom_point(aes(x,y))
multiplot(a,a)


## End(Not run)

kobe documentation built on May 30, 2017, 12:15 a.m.