Learn R Programming

plotbb (version 0.1.1)

bb_facet_wrap: bb_facet_wrap

Description

Facet a bbplot object into multiple panels.

Usage

bb_facet_wrap(facets, ncol = NULL, nrow = NULL, scales = "fixed")

Value

A modified bbplot object

Arguments

facets

a formula specifying faceting variable, e.g. ~cyl.

ncol

number of columns.

nrow

number of rows.

scales

scale behavior across facets, one of 'fixed', 'free', 'free_x', or 'free_y'.

Author

Guangchuang Yu