Kurt
You need to give us more information if you want good advice. For example,
what sort of plot are you trying to make?
A barplot? A time series?
A reproducible example is always best. Please see the R-news posting guide for
hints on a successful query.
On Jan 28, 2011, at 1:53 PM,
On Jan 28, 2011, at 4:53 PM, kurt_h...@nps.gov wrote:
Greetings
Though I have months in chronological order in my data table,
the data
were sampled every other month (i.e., February, April, June, August,
October, December), every time I try to plot them (on the x-axis)
they are
You need to make your variable into a factor and specify the order.
mymonths - c(December, March)
factor(mymonths)
[1] December March
Levels: December March
factor(mymonths, levels=month.name)
[1] December March
12 Levels: January February March April May June July August September
October ...
This would be easier if you showed us a sample of your data and what commands
you are using. Without we need to guess.
Probably your month variable is being turned into a factor somewhere and the
default for factors is alphabetical. The best solution depends on
how/where/when your months are
4 matches
Mail list logo