smart_swap_mapping_data: Mimic ggplot2 behavior of intelligently interpretting first...

View source: R/utils_arguments.R

smart_swap_mapping_dataR Documentation

Mimic ggplot2 behavior of intelligently interpretting first layer argument

Description

Like ggplot, if the first argument doesn't appear to be an aesthetic mapping, despite mappings being appropriately passed in the first argument, swap the first two arguments.

Usage

smart_swap_mapping_data(args)

Arguments

args

a list of arguments to interpet


dgkf/ggpackets documentation built on Oct. 12, 2022, 7:54 a.m.