tags:

views:

30

answers:

0

I have a random question regarding plotting in R. Here is my code: weather<-read.csv("C:\Users\Tijana\Desktop\CSTAMUWeather08.csv",header=T) weather attach(weather) CST<- as.Date(CST, "%m/%d/%Y") plot(CST,Max TemperatureF,type="l")

i am trying to plot a graph that shows temperature for a city, over a year so i have 365 data points for each column. CST is the data column(1/1/2009) and i keep getting the following error: Error: unexpected symbol in "plot(CST,Max TemperatureF" and sometimes it's the "uneven column length" error - and they are definetely even, both have 365 pts. Am i missing a step here?

Also how would i add another curve to this plot?

Any help would be greatly appreciated. Thanks