Can someone identify that how can I place top and right axis labels for ggplot while using facet_grid?
Consider following code which is resulting plot given below. I want to place axis label "Days" and "Gender" for top and right axis. The one alternative is using labeller
or 'levels` but it will change the top labels instead of having axis labels.
library(reshape2)
ggplot(tips, aes(total_bill, tip)) +
facet_grid(sex ~ day) +
geom_point() +
xlab("Total Bill") +
ylab("Tip")