View source: R/biodiversityFunctions.R
communityMatrix | R Documentation |
A function that counts the number of observations or visits per grid cell for each species.
communityMatrix(x, sampleUnit = "observation")
x |
an object of class ‘SummarizeBirds’. |
sampleUnit |
an string specifying the sample unit within a grid cell. Options are “observation” (default) or “visit”. If spillOver=TRUE and visits are defined by locality, it may happen that some species observations are counted in more than one grid cell. |
a matrix
with counts of observations or visits for each species
on each non-empty grid cell.
summarizeBirds
, exportBirds
grid <- makeGrid(searchPolygon, gridSize = 10)
SB <- summarizeBirds(organizeBirds(bombusObsShort), grid=grid)
CM <- communityMatrix(SB, sampleUnit="visit")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.