To examine a phenology, there are different functions to query its properties.
Usage
## get the year the phenology was calculated for
prop_year(pheno)
## get all dates that are covered by the phenology
prop_dates(pheno)
## get the first date that is covered by the phenology
prop_first_date(pheno)
## get the last date that is covered by the phenology
prop_last_date(pheno)
## get all hatched generations as numeric vector
prop_hatched_generations(pheno)
## get all hatched filial generations as numeric vector
prop_filial_generations(pheno)
## get all hatched sister broods as numeric vector
prop_sister_broods(pheno)
## get the stations assigned to the phenology
prop_stations(pheno)
Arguments
- pheno
A phenology (see
phenology()
)
Examples
# \donttest{
# calculate phenology
p <- phenology('phenips-clim', barrks_data(), .quiet = TRUE)
# print all generations that were hatched
prop_hatched_generations(p)
#> [1] 1.0 1.5 2.0 2.5
# }