Re: [R] Need a help to plot bar for time series Rain data

2010-07-30 Thread Jim Lemon
On 07/30/2010 09:24 PM, Nyanzura wrote: Hi Jim, Thank you very much, let me check as you suggested. But in addition what do you think could be easy to interpret? Could you advice me please. I would probably start with: plot(times,type="l",...) if you can makes 'times' into a vector. Jim _

Re: [R] Need a help to plot bar for time series Rain data

2010-07-30 Thread Nyanzura
Hi Jim, Thank you very much, let me check as you suggested. But in addition what do you think could be easy to interpret? Could you advice me please. Nyanzura -- View this message in context: http://r.789695.n4.nabble.com/Need-a-help-to-plot-bar-for-time-series-Rain-data-tp2307739p2307858.html

Re: [R] Need a help to plot bar for time series Rain data

2010-07-30 Thread Jim Lemon
On 07/30/2010 06:51 PM, Nyanzura wrote: Hey Guys, I am quite new to R, am trying to plot a bar plot for my monthly rainfall data from 1920 to 1990. For every year I have the data from January to December. I have created this code: data<-read.table("C://R//Data//Rain.txt", header=TRUE) data<-dat

[R] Need a help to plot bar for time series Rain data

2010-07-30 Thread Nyanzura
Hey Guys, I am quite new to R, am trying to plot a bar plot for my monthly rainfall data from 1920 to 1990. For every year I have the data from January to December. I have created this code: data<-read.table("C://R//Data//Rain.txt", header=TRUE) data<-data[,2:13] Rdata<-data[1,] for(i in 2:79){Rd