Learn R Programming

xpose (version 0.4.19)

parse_arg: 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)

Value

ggplot2 aesthetics for the layer defined in `name`.

Arguments

x

A list of xpose plot aesthetics.

name

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