Displaying 1 result from an estimated 1 matches for "dryseaonmonths".
Did you mean:
dryseasonmonths
2009 Apr 09
2
numbers not behaving as expected
If someone can explain this odd behavior I'd appreciate it.
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...