Hi,

Thanks, although I dont think it was the Date.Time variable that was the
problem because my x variable was Month.Year. 

I realise now that this month variable was a factor and I changed the order
of the factor using the following :

fish$MonthYr<-factor(fish$MOYR,levels=c("05,2010","06,2010","07,2010","08,2010","09,2010","10,2010","11,2010","12,2010","01,2011","02,2011","03,2011","04,2011"))

This seems to have ordered my x axis (factors)in the correct fashion.

Thanks again for your help

Phil

--
View this message in context: 
http://r.789695.n4.nabble.com/ggplot2-month-and-year-boxplot-x-axis-order-problem-tp3623029p3624680.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to