Skip to contents

Returns intercept priors for the recruitment model informed by national demographic-disturbance relationships (Johnson et al. 2020). The returned priors override b0_mu and b0_sd in bb_priors_recruitment(); all other prior parameters retain their defaults.

Usage

bb_priors_recruitment_national(anthro, fire_excl_anthro)

Arguments

anthro

A number between 0 and 100. Percent non-overlapping buffered anthropogenic disturbance.

fire_excl_anthro

A number between 0 and 100. Percent fire disturbance not overlapping with anthropogenic disturbance. anthro + fire_excl_anthro must not exceed 100.

Value

A named vector with elements b0_mu and b0_sd, suitable for passing to the priors argument of bb_fit_recruitment().

Details

Priors are looked up from a pre-computed table in the bbouNationalPriors package. Integer values of anthro and fire_excl_anthro are matched directly; non-integer values trigger a model run (slower).

References

Johnson, C.A., Sutherland, G.D., Neave, E., Leblond, M., Kirby, P., Superbie, C. and McLoughlin, P.D., 2020. Science to inform policy: linking population dynamics to habitat for a threatened species in Canada. Journal of Applied Ecology, 57(7), pp.1314-1327. doi:10.1111/1365-2664.13637

See also

bb_priors_recruitment() for default priors.

bb_priors_survival_national() for survival priors.

Other priors: bb_priors_survival_national()

Examples

nat_r <- bb_priors_recruitment_national(anthro = 50, fire_excl_anthro = 5)
nat_r
#>      b0_mu      b0_sd 
#> -1.7335966  0.5594394 

# Pass to bb_fit_recruitment via priors argument
# fit <- bb_fit_recruitment(data, priors = nat_r)