My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Grid provides a low-level framework to build graphics in the R language and is included with every R distribution. Some functions of base graphics that are not yet available using Grid graphics,

- a few low-level functions (e.g. type = 'b' to draw lines and points, hatch patterns, etc.)

- convenient layout functions

- specific high-level functions (e.g. display a data.frame)

- ...

This project provides a package with experimental implementation of such functions.

NOTE as of version 0.5, the package has been renamed to gridExtra to follow the conventions started with latticeExtra, vcdExtra, zooExtra and ggExtra.

install.packages("gridExtra", repos="http://R-Forge.R-project.org")
library(gridExtra)
?gridExtra

layout

grid.arrange # wrapper around grid.layout to arrange ggplot2 plots, lattice plots, and grobs on a page

experimental grobs

colorstripGrob # display a vector of colours

tableGrob # display a data.frame

barbedGrob # plot points joined by line segments with an exclusion zone

ellipseGrob # draw an ellipse

arcTextGrob # arrange text labels in a circle and display links as arcs

patternGrob # vector fill pattern

rpatternGrob # raster fill pattern

ebimageGrob # display EBImage object

pixmapGrob # display pixmap object

utilities

polygon.regular
polygon.star
virtualGrob
latticeGrob
rowMax.units, colMax.units
read.tiff
Powered by Google Project Hosting