facet_form: A helper function for building a ggplot facet. Used...

Description Usage Arguments Value Author(s)

View source: R/plot_functions.R

Description

A helper function for building a ggplot facet. Used internally by the plotting functions.

Usage

1
facet_form(horiz = NULL, horiz2 = NULL, vert = NULL, vert2 = NULL)

Arguments

horiz, horiz2

A character string denoting which column to use as the first (horiz) and second (horiz2) level of faceting in the horizontal direction. E.g. "M" or "species". A value of NULL (default) indicates no faceting.

vert, vert2

A character string denoting which column to use as the first (vert) and second (vert2) level of faceting in the vertical direction. E.g. "M" or "species". A value of NULL (default) indicates no faceting.

Value

A formula which can be used in facet_grid, or NULL if all arguments are NULL

Author(s)

Cole Monnahan


ss3sim documentation built on Nov. 9, 2019, 1:06 a.m.