These functions report whether a BirdFlow object has certain optional components:
has_marginals()indicates whetherxhas marginals, the canonical, smaller representation of the model's dynamics.has_transitions()indicates whetherxhas precomputed transitions, derived from the marginals, which is whatpredict()androute()actually multiply against distributions.has_distr()indicates whetherxhas stored eBird Status & Trends distributions, separate from the marginals/transitions, from the data the model was trained on.has_dynamic_mask()indicates whetherxhas a dynamic (per-timestep) mask, in addition to the static mask every BirdFlow object has.
Examples
# \donttest{
bf <- BirdFlowExamples::amewoo
has_marginals(bf)
#> [1] TRUE
has_transitions(bf)
#> [1] FALSE
has_distr(bf)
#> [1] TRUE
has_dynamic_mask(bf)
#> [1] TRUE
# }
