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'.


xpose documentation built on July 9, 2023, 6:12 p.m.