Skip to content

Aggregrate function

2 messages · Mark Leeds, David Winsemius

#
it does and you get exactly what monica wanted if you take out the "sp 
and just return the whole thing. thanks.
On Thu, Feb 12, 2009 at 5:52 PM, David Winsemius wrote:

            
#
Actually what was originally requested is returned by:

xveg[xveg$tot %in% with(xveg, tapply(tot, loc, max)), c("loc","sp")]

--  
David Winsemius
On Feb 12, 2009, at 5:59 PM, markleeds at verizon.net wrote: