search for: all_stations_24h_at_rh_0701

Displaying 1 result from an estimated 1 matches for "all_stations_24h_at_rh_0701".

2008 Jul 28
1
loop does not work
...dataframe (extract one station and one day) to calculate and store the maxima that can then be plotted. I have an error message at the end of each loop: Error: unexpected '}' in "}" Here is my code: ********************************************* datafile <- read.csv(file="all_stations_24h_at_rh_0701-0718.csv",head=TRUE,sep=",") #-------------build maxima vector---------------- maxima<-mat.or.vec(132,18) Temp<-mat.or.vec(1,24) regions<-levels(datafile$Region) stations<-levels(factor(datafile$Stn.Id)) days<-levels(datafile$Date) i=1 j=1 while(i<length(...