bso_get_flight_rst {barrks} | R Documentation |
Get flight of individuals (BSO only)
Description
Get the number of individuals that are flying.
Usage
bso_get_flight_rst(pheno, generation, flight = 1, dates = prop_dates(pheno))
bso_get_flight_df(
pheno,
generation,
stations = prop_stations(pheno),
flight = 1,
dates = prop_dates(pheno)
)
Arguments
pheno |
A BSO phenology (see |
generation |
Generation of interest. For sister broods, 0.5 should be added. |
flight |
Specifies which flight of the respective generation should be
returned. Can be |
dates |
Select dates that should be present in the output. |
stations |
Pass a character vector to choose stations assigned to |
Value
-
bso_get_flight_rst
: a multi-layer SpatRaster. -
bso_get_flight_df
: a data frame.
Examples
# This may take a few minutes...
# calculate phenology
p <- bso_phenology('bso', barrks_data('stations'), .quiet = TRUE)
# get the number of individuals of the hibernating generation on their first flight
bso_get_flight_df(p, 0, 'Freiburg', flight = 1)
[Package barrks version 1.0.0 Index]