Learn R Programming

BIRDS (version 0.2.0)

focalSpSummary: Summarize records of a species among all visits

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

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab