focalSpSummary: Summarize records of a species among all visits

Description Usage Arguments Value See Also Examples

View source: R/focalSpecies.R

Description

A function to summarise records of a species among all visits. Returns number of grid cells with occurrences, number of observations, number of visits, number of years and number of months with occurrences.

Usage

1
focalSpSummary(x, focalSp = NULL)

Arguments

x

an object of class ‘SummarizeBirds’.

focalSp

the focal sp to look for.

Value

a data.frame with summary data for the focal species

See Also

summarizeBirds, exportBirds

Examples

1
2
3
4
5
6
OB <- organizeBirds(bombusObsShort, sppCol = "scientificName", simplifySppName = TRUE)
grid <- makeGrid(searchPolygon, gridSize = 10)
SB <- summariseBirds(OB, grid=grid)
allSpp <- listSpecies(SB)
focal <- "Bombus campestris"
focalSpSummary(SB, focalSp=focal)

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