Skip to contents

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