Skip to contents

Flip axes in case of coord_flip Switches column names. Eg. xmin to ymin, yntercept to xintercept etc.

Usage

switch_axes(col.names)

Arguments

col.names

Column names which need to be switched

Value

Column names with x and y axes switched