Learn R Programming

maidr (version 0.1.2)

extract_axis_format: Extract Format Configuration for a Single Axis

Description

Extracts formatting configuration by inspecting the closure environment of scales label functions (e.g., scales::label_dollar, scales::label_percent).

Usage

extract_axis_format(built, axis = "x")

Value

Format configuration list or NULL

Arguments

built

A built ggplot2 object

axis

Either "x" or "y"