search for: wetseasonmonths

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

2009 Apr 09
2
numbers not behaving as expected
.... I have a data.frame Cell.ave (attached and created via dput(Cell.ave, "Cell.ave") which contains three columns of parameters year, month and AveRain. I need to subset the data.frame by months such that DrySeaonMonths are 1,2,3,4, 11, and 12 or Jan - April, November and December and WetSeasonMonths are 5:10 or May-October. I'm using the following code: > DrySeasonMonths <- Cell.ave[Cell.ave$month < "5" & Cell.ave$month != "10",] > table(DrySeasonMonth$month) 1 2 3 4 11 12 36 36 36 36 36 36 # this is expected since the data...