Learn R Programming

animint2 (version 2025.1.28)

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

Description

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

Usage

switch_axes(col.names)

Value

Column names with x and y axes switched

Arguments

col.names

Column names which need to be switched