Displaying 2 results from an estimated 2 matches for "speciescod".
2005 Nov 08
2
retrieve most abundant species by sample unit
...ed the data frame to omit cover below 5%; this is what it looks
like stacked. I have experimented with tapply(), by(), and some
functions mentioned in archived postings, but I haven't seen anything
that answers to this directly. Does anybody have any ideas?
OBJECTID PolygonID SpeciesCod AbundanceP
1 15006 ANT-CBG-rr1 Leymol 5.00000
3 15008 ANT-CBG-rr1 Ambcha 5.00000
5 15010 ANT-ESH-27 Atrpat 20.00000
6 15011 ANT-ESH-27 Ambcha 10.00000
11 15016 ANT-ESH-28 Salvir 20.00000
14 15019 ANT-ESH-2...
2010 Mar 10
2
function to create multiple matrices
Hi All,
If given a dataframe (long form) with Year, Species, and Location,
How would I write a function that would create a unique matrix of Species &
Location for each Year?
What I've tried doing is the following:
data #dataframe
dataT<-table(data$Species,data$Location,data$Year) #creates tables of
Species vs Location for each Year
But I'm encountering issues individually