Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

How to switch right-hand strip to left side in facet_grid

$
0
0

I have the following code:

library(tidyverse)
p <- ggplot(mpg, aes(displ, cty)) + geom_point()
p + facet_grid(drv ~ .)

Which produces this plot:

enter image description here

As describe above how can I switch right-hand strip to left side and vice versa.


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>