apply_facets: Apply facets to to 'ggplot2::ggplot'

View source: R/plotlib.R

apply_facetsR Documentation

Apply facets to to ggplot2::ggplot

Description

Apply facets to to ggplot2::ggplot

Usage

apply_facets(
  p,
  formula,
  facets = TRUE,
  nrow = NULL,
  ncol = 1,
  scales = "free_y",
  ...
)

Arguments

p

ggplot2::ggplot instance

formula

stats::formula instance

facets

Logical value to specify use facets

nrow

Number of facet/subplot rows

ncol

Number of facet/subplot columns

scales

Scale value passed to ggplot2

...

other arguments passed to methods

Value

ggplot


ggfortify documentation built on May 29, 2024, 7:19 a.m.