I have been working on this for hours, cant seem to get this right. The boxplot only gives me flat vertical lines, its driving me crazy. I get the same input with or without factor function
ggplot(df2,aes(x = factor(Location),y=Final.Result)) + geom_boxplot()
Solved! there are some data values such as "< 0.005" which R picks up as string and converts everything to factor.