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.
focalSpSummary(x, focalSp = NULL)
x | an object of class ‘SummarizeBirds’. |
---|---|
focalSp | the focal sp to look for. |
a data.frame
with summary data for the focal species
# \donttest{ 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)#> species nCells nObs nVis #> 1 Bombus campestris 15 17 17 #> visitsUID nYears #> 1 328,38,298,673,39,40,283,587,116,620,152,473,452,403,748,178,375 3 #> nMonths #> 1 4# }