communityMatrixGrid: Creates a community matrix per grid cell (sample x species x...

Description Usage Arguments Value See Also Examples

View source: R/biodiversityFunctions.R

Description

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

Usage

1

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

communityMatrix

Examples

1
2
3
4
5
6
7
8
9
grid <- makeGrid(searchPolygon, gridSize = 10)
OB <- organizeBirds(bombusObs, sppCol = "scientificName",
                    taxonRankCol = "taxonRank", taxonRank = "SPECIES",
                    simplifySppName = TRUE)
SB <- summarizeBirds(OB, grid=grid)
CM <- communityMatrixGrid(SB)
lCM <- lengths(CM) ## Which cells are empty
## library(vegan)
## R <- lapply(CM[which(lCM>0)], specaccum)

BIRDS documentation built on June 27, 2021, 1:06 a.m.