search for: topstormindex

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

2008 Mar 26
3
Loop problem
...e 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 topstormindex<-rankeddataset[1,1] ## Finds the top storm start index startindex<-topstormindex-48 ## sets the start and end indexes endindex<-topstorminde+48 rankeddataset<-rankeddataset[-1,] ## Creates a new list with the top storm removed ##This section of code needs looped. It removes storms fro...