Learn R Programming

ezplot (version 0.7.13)

quick_facet: Quick facet

Description

Applies faceting to ggplot objects when g[["data"]] has a facet_x or facet_y column.

Usage

quick_facet(g, ncol = NULL, ...)

Arguments

g

A ggplot object.

ncol

Number of facet columns.

...

Arguments to pass to facet_grid or facet_wrap.