Displaying 2 results from an estimated 2 matches for "raindata".
Did you mean:
traindata
2008 Mar 26
3
Loop problem
Dear all, I have a problem with a loop, if anyone has any knowledge on
these things I would appreciate some comments. The code below is
designed to allow me to extract the top record of the data frame, and
them remove rows from the data frame which have an index close to the
extracted top record.
topstorm<-subset(rankeddataset[1,]) ## Extracts the top storm
2011 Nov 15
1
Creating Timeseries by manipulating data table
...longditude latitude year month rainfall region
What I need to do is produce a monthly time series for each region, where
region is an integer id and where each time point in the series is the
monthly average of rainfall for each location in that region.
Basically I know how to read the data as:-
raindata<-read.csv("Rainfall.csv")
but have no idea how to create the timeseries using R.
Any help would be appreciated.
Thanks
Chuske
--
View this message in context: http://r.789695.n4.nabble.com/Creating-Timeseries-by-manipulating-data-table-tp4042875p4042875.html
Sent from the R help m...