xp_geoms: Generic ggplot2 layer for 'xpose_plots'

xp_geomsR Documentation

Generic ggplot2 layer for 'xpose_plots'

Description

Generic wrapper around ggplot2 layer functions.

Usage

xp_geoms(mapping = NULL, xp_theme, name, ggfun, ...)

Arguments

mapping

ggplot2 aesthetics for the target layer.

xp_theme

An 'xpose_theme' object.

name

Name of the destination layer for the argument parsing (e.g. point).

ggfun

Name of the ggplot2 layer function to be called.

...

Additional arguments to be parsed and passed to the destination layer.

Value

Output of the 'ggfun' call.


xpose documentation built on May 29, 2024, 5:12 a.m.