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.


guiastrennec/ggxpose documentation built on June 8, 2024, 3:22 p.m.