switch_axes {animint2} | R Documentation |
Flip axes in case of coord_flip Switches column names. Eg. xmin to ymin, yntercept to xintercept etc.
switch_axes(col.names)
col.names |
Column names which need to be switched |
Column names with x and y axes switched