ggplot2 outside panel border when using facet
I would like to have a border around the outside of my faceted plot but not have the lines that separate the panels inside the plot. The issue is that panel.border draws a border around each panel in the facet with no option to just have a border around the entire plot. Alternatively can you set the inside dividing lines to 'white' but keep the outside border 'black'. Here is my code: mtcars mtcars$manufacturer=rownames(mtcars) ggplot(mtcars, aes(x=manufacturer, y=mpg,fill=factor(gear,levels=c("3","4","5"))))+ geom_bar(stat="identity",position="dodge",colour="black")+ facet_grid(~cyl,scales =