powered by
Swap x and y mapping
mapping_swap_x_y(mapping)
output of ggplot2::aes(...)
ggplot2::aes(...)
Aes mapping with the x and y values switched
# NOT RUN { mapping <- ggplot2::aes(Petal.Length, Sepal.Width) mapping mapping_swap_x_y(mapping) # }
Run the code above in your browser using DataLab