How do you go about changing the order or boxplots so that they are ordered greatest to least by their means.
This is my attempt of reordering the boxplots by their means:
url <- "http://www.cse.lehigh.edu/~brian/course/2020/datascience/student-teacher-ratios.csv"
df_ratios <- read.csv(url, header=T)
s2 <- with(df_ratios, reorder(region, -student_ratio, mean))
with(df_ratios, boxplot(student_ratio~s2))