This function calculates the number of recovered individuals marked in one breeding area given the data frame of dead recoveries and a vector of names of breeding areas

recIndsFunc(breedingAreaNames, recoveries)

Arguments

breedingAreaNames

character vector with names of breeding areas

recoveries

data frame of recoveries with column on marking location

Value

vector of number of recovered individuals per breeding area

Examples

recIndsFunc(c("early", "late"), robinsInit$recoveryData)
#> [1] 17 22