setfacets {ggplot}R Documentation

Set facetting formula and margins for a plot

Description

Set the function that controls how the plot is facetted into multiple panels.

Usage

setfacets(p = .PLOT, formula = . ~ . , margins = FALSE)

Arguments

p plot object, if not specified will use current plot
formula formula describing row and column layout, see reshape for more details
margins a vector of names giving which margins to display, can include grand_row and grand_col or uss TRUE to display all margins

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot version 0.4.2 Index]