[R] xyplot - ordering factors in graph

2012-04-21 Thread pip
Hello - newbie Have created a lattice graph and want to know how to sort one of the elements which is a factor. The factor numbers in graph are - eg - 10 32 21 2 22 4 etc Regards -- View this message in context: http:/

Re: [R] xyplot - ordering factors in graph

2012-04-21 Thread pip
Thanks very much -- View this message in context: http://r.789695.n4.nabble.com/xyplot-ordering-factors-in-graph-tp4576013p4577025.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/m

[R] x axis dates

2012-05-12 Thread pip
The following data spans out to 2012 and when graphing out the data - R defaults dates on x axis only shows the years eg 200520072009 My question is how can I get the graph to show more dates on the axis - eg every qtr or 6 months or every month etc PRODUCT,DATE,AMOUNT_1,AMOUNT_2 A,3/1/