[R] Something similar to layout in lattice or ggplot

baptiste auguie baptiste.auguie at googlemail.com
Tue Sep 7 18:04:30 CEST 2010


arrange() was renamed grid.arrange() when plyr started using this name
for a different function. I think it happened in version 0.6.5 of
gridExtra. The current version on CRAN is 0.7.

baptiste

On 7 September 2010 17:46, Erik Iverson <eriki at ccbr.umn.edu> wrote:
>
>
> 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