I've made a series of scatter plots and put them together using 'facet.by', so they are grouped by distance. However, I'd like them to appear in the order 'Margin', '10 m', '50 m', instead of the order that they are in currently (see attached photo). Is there any way I can change the order of the faceted graphs?
ggscatter(floral_data, x = "Spp Flowering", y = "Parasitoids", facet.by = "Distance",
add = "reg.line",
conf.int = TRUE,
cor.coef = TRUE, # Add correlation coefficient
cor.coeff.args = list(method = "spearman", label.y = 37, label.x = 5.7, label.sep = "\n"),
xlab = "Average number of flowering species in margin (May-June)",
ylab = "Parasitoid Abundance")