How can i remove the upper and both side borders in my grid plot using ggplot?
My code gives you following plot.
ggplot(Plot_stomach[which(!Plot_stomach$Guild == "Piscivore"),],
aes(x=group, y=std_CR24, fill=group)) +
geom_bar(stat="identity", width=0.8, color = "black") +
geom_errorbar(aes(ymin=std_CR24-SE, ymax=std_CR24+SE), width=.2,
position=position_dodge(.9)) +
geom_text(aes(x=as.numeric(group), y= std_CR24+SE+5, label = N), size = 3) +
labs(x = "", y= expression(bold("Mean daily consmption rate (g prey kg"^-1~")"))) +
coord_flip() +
ylim(0,60) +
facet_nested(.~ Guild + Cluster2 + N_name) +
scale_fill_manual(name= "", values = c("Copepods" = "#cccccc",
"Euphausiids" = "#999999",
"Larvaceans" = "#666666",
"Other zooplankton" = "black",
"Ammodytids" = "#d11141",
"Clupeids" = "#ffc425",
"Gadids" = "#00b159",
"Other teleosts" = "#00aedb")) +
theme_bw() +
theme(panel.border = element_blank(),
strip.text.x = element_text(colour = "black", face = "bold", size =14),
strip.background = element_rect(color = "black", fill="white"),,
axis.title.y = element_blank(),
axis.title.x = element_blank(),
axis.text.x=element_text(colour="black", size = 14, angle =45, hjust = 1),
axis.text.y=element_text(colour="black", size = 14),
legend.position = "none",
text = element_text(family = "Calibri"))
This is showing mean consumption rates of mackerels for different prey groups
But what I really want is something like
Only lower borders should be kept
or even costumize so I only keep lower border of main titles.

