Duh.. I should know that..
That was excellent. Didn't realize that.
Need rest(or practice) for my brain maybe.
Thank you Jim...
On Wed, Dec 16, 2020 at 3:27 PM Jim Lemon wrote:
>
> Hi Ani,
> Not sure about this, but is this what you want?
>
> ann10<-aggregate(mon10[3:12],list(mon10$Group.1),whi
Hi Ani,
Not sure about this, but is this what you want?
ann10<-aggregate(mon10[3:12],list(mon10$Group.1),which.max)
Jim
On Wed, Dec 16, 2020 at 4:55 PM ani jaya wrote:
>
> Dear R-Help,
>
> I have a data frame containing monthly maxima of rainfall in 10
> locations for 30 year and want to look a
Dear R-Help,
I have a data frame containing monthly maxima of rainfall in 10
locations for 30 year and want to look at a month where an annual
maxima happens. I can get the annual maxima using aggregate. I try to
extract the month using the code below.
ann10<-aggregate(mon10[3:12],list(mon10$Grou
3 matches
Mail list logo