smart_swap_mapping_data {ggpackets} | R 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 |
[Package ggpackets version 0.2.1 Index]