e_flip_coords | R Documentation |
Flip cartesian 2D coordinates.
e_flip_coords(e)
e |
An |
df <- data.frame(
x = LETTERS[1:5],
y = runif(5, 1, 5),
z = runif(5, 3, 10)
)
df |>
e_charts(x) |>
e_bar(y) |>
e_line(z) -> plot
plot # normal
e_flip_coords(plot) # flip
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.