THe problem is that when you read the data in, 'month' was converted to a
factor.  Try the following to get it converted to a factor, but in the order
you want for processing:

x <- read.table(yourFile, ..., as.is=TRUE, na.strings="DNA")  # prevent
conversion to factor
x$month <- factor(x$month, levels=x$month)

This will create the factor levels in the order you want.
On Tue, Jun 2, 2009 at 12:32 PM, ms.com <logi...@hotmail.com> wrote:

>
> Dear all
> i got a problem in monthly mean temperature. here i am attaching the data
> set as well as the plot i got with the following command
> plot(month,type='n')
> plot(month,X1999)
>
> this command gave the plot where the month names are in alphabetic order, i
> want the plot in monthly sequence
> could you please suggest me how can i solve my problem?
>
> thanking you
>
> regard
> madan
>
> _________________________________________________________________
> Lauren found her dream laptop. Find the PC thatÂ’s right for you.
>
>
> ______________________________________________
> 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<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>
>


-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?

        [[alternative HTML version deleted]]

______________________________________________
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