# NOT RUN {
p <- ggplot(mpg, aes(displ, hwy)) + geom_point()
# Repeat all axes for every facet
p + facet_wrap2(vars(class), axes = "full")
# Repeat only y-axes
p + facet_wrap2(vars(class), axes = "cols")
# Repeat axes without labels
p + facet_wrap2(vars(class), axes = "full", remove_labels = "all")
# Repeat axes without x-axis labels
p + facet_wrap2(vars(class), axes = "full", remove_labels = "rows")
# }
Run the code above in your browser using DataLab