parse_arg: Parse arguments from xpose to ggplot2 format

View source: R/xpose_geom.R

parse_argR Documentation

Parse arguments from xpose to ggplot2 format

Description

Transform arguments from xpose (e.g. point_color) to ggplot2 (e.g. color) format.

Usage

parse_arg(x = NULL, name)

Arguments

x

A list of xpose plot aesthetics.

name

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

Value

ggplot2 aesthetics for the layer defined in 'name'.


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