A function that counts for each grid cell the number of observations per visit for each species.

communityMatrixGrid(x)

Arguments

x

an object of class ‘SummarizeBirds’.

Value

a list with a data.frame per grid cell with counts of observations for each species per visits on each non-empty grid cell.

See also

Examples

# \donttest{ grid <- makeGrid(searchPolygon, gridSize = 10) OB <- organizeBirds(bombusObs, sppCol = "scientificName", taxonRankCol = "taxonRank", taxonRank = "SPECIES", simplifySppName = TRUE)
#> 98 observations did not match with the specified taxon rank and were removed.
SB <- summarizeBirds(OB, grid=grid)
#> 0.015 % of the visits spill over neighbouring grid cells.
CM <- communityMatrixGrid(SB) lCM <- lengths(CM) ## Which cells are empty ## library(vegan) ## R <- lapply(CM[which(lCM>0)], specaccum) # }