Displaying 1 result from an estimated 1 matches for "xveg".
Did you mean:
veg
2009 Feb 12
3
Aggregrate function
Hi,
I have to recognize that i don't fully understand the aggregate function, but i think it should help me with what i want to do.
xveg is a data.frame with location, species, and total for the species. Each location is repeated, once for every species present at that location. For each location i want to find out which species has the maximum total ... so i've tried different ways to do it using aggregate.
loc <- c(rep(&q...