[R] Something similar to layout in lattice or ggplot
Erik Iverson
eriki at ccbr.umn.edu
Tue Sep 7 17:46:48 CEST 2010
baptiste auguie wrote:
> On 7 September 2010 17:19, Erik Iverson <eriki at ccbr.umn.edu> wrote:
>> See ?grid.layout or perhaps ?arrange from the gridExtra package.
>>
> gridExtra::grid.arrange(), rather.
Do I have an old version of gridExtra?
I have ?arrange:
arrange package:gridExtra R Documentation
arrange
Description:
arrange ggplot2, lattice, and grobs on a page
Usage:
arrange(..., as.table=FALSE, plot=TRUE, clip=TRUE, main, sub, left,
legend, newpage=FALSE)
Arguments:
...: plots of class ggplot2, trellis, or grobs, and valid
arguments to grid.layout
>
> baptiste
>
>> Abhijit Dasgupta wrote:
>>> Hi,
>>>
>>> Is there a function similar to the layout function in base graphics in
>>> either lattice or ggplot? I'm hoping someone has written a function wrapper
>>> to the appropriate commands in grid that would make this easier :)
>>>
>>> Abhijit
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
More information about the R-help
mailing list