Skip to contents

Flight Range

Usage

sit_flight_range(
  x,
  pool = FALSE,
  levels = c(50, 90),
  spatial_adjustment = TRUE,
  following_releases,
  following_days,
  species = NULL
)

Arguments

x

A sit object or a sit_adult_surveys object (in which case, following_releases, following_days and species are ignored).

pool

Logical. Whether to aggregate data from released populations.

levels

Numeric vector with values between 0 and 100. Requested levels of flight range, in percentage.

spatial_adjustment

Logical. Whether to adjust observations to account for a irregular spatial arrangement of traps.

following_releases

A sit_release object with a subset of release events or missing (default) for all release events. Use in combination with following_days to filter surveys of the target populations within a given number of days after release. Note that counts of wild populations will always be included in the results with a value of NA in pop_col.

following_days

Integer or missing (default). Number of days after releases to return, if following_releases is not missing.

species

a character vector of species to be returned. Defaults to NULL, which ignores the species variable.

Value

A named numeric vector with one value for each requested level.

Examples

sit_flight_range(sit_prototype)
#> 
#> ── Flight range ────────────────────────────────────────────────────────
#> 
#> 
#> population    level   cum_adj_catch       FR
#> -----------  ------  --------------  -------
#> blue             50           15.92    73.54
#> blue             90           28.66   240.57
#> red              50           11.63    51.89
#> red              90           20.93   165.90
#> yellow           50            9.13    64.86
#> yellow           90           16.44   172.20
#>