R/biodiversityFunctions.R
communityMatrixGrid.Rd
A function that counts for each grid cell the number of observations per visit for each species.
communityMatrixGrid(x)
x | an object of class ‘SummarizeBirds’. |
---|
a list
with a data.frame
per grid cell with counts of
observations for each species per visits on each non-empty grid cell.
# \donttest{ grid <- makeGrid(searchPolygon, gridSize = 10) OB <- organizeBirds(bombusObs, sppCol = "scientificName", taxonRankCol = "taxonRank", taxonRank = "SPECIES", simplifySppName = TRUE)#>#>CM <- communityMatrixGrid(SB) lCM <- lengths(CM) ## Which cells are empty ## library(vegan) ## R <- lapply(CM[which(lCM>0)], specaccum) # }