Title: | Traditional Survival, Recruitment and Population Growth Methods |
---|---|
Description: | Estimates annual survival, recruitment and population growth using the traditional methods. This package is part of the bbou suite of tools. |
Authors: | John Boulanger [aut] , Ayla Pearson [cre, aut] , Joe Thorley [aut] , Seb Dalgarno [ctb] , Colton Stephens [ctb] , Province of Alberta [cph] |
Maintainer: | Ayla Pearson <[email protected]> |
License: | Apache License (>= 2) |
Version: | 0.1.0 |
Built: | 2024-11-16 05:51:58 UTC |
Source: | https://github.com/poissonconsulting/bbouretro |
Estimate Calf-Cow Ratio.
bbr_calf_cow_ratio( x, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "bootstrap", year_start = 4L )
bbr_calf_cow_ratio( x, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "bootstrap", year_start = 4L )
x |
A data frame that has recruitment data. |
adult_female_proportion |
Assumed or estimated proportion of females in the population used to assign unknown sex caribou. Values must be between 0 and 1. Can be set to 0 to exclude unknown sex caribou from recruitment estimates. The default is set at 0.65. |
sex_ratio |
Sex ratio of caribou at birth used to assign calves and yearlings as male or female. Sex ratio is defined as the proportion females at birth. Values must be between 0 and 1. The default is set at 0.5. |
variance |
Estimate variance using "binomial" or "bootstrap". The default is set as "bootstrap". |
year_start |
A whole number between 1 and 12 indicating the month of the start of the caribou (i.e., biological) year. By default, April is set as the start of the caribou year. |
The return object has these columns:
Population name
Year sampled
Calf-Cow ratio estimate
Confidence limit
Confidence limit
Groups sampled
Estimated female calves
Estimated adult females
x
needs to be formatted in a certain manner. To confirm the input
data frame is in the right format you can use the
bbd_chk_data_recruitment
function. See the vignette("methods", package = "bbouretro")
for the
equations used in this function.
User’s can input the assumed proportion of females in the population (to estimate females from adult caribou that have unknown sex) as well as sex ratio at birth.
A data frame. The columns are listed in the format section.
calfcow_est <- bbr_calf_cow_ratio( bboudata::bbourecruit_a, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "binomial" ) calfcow_est <- bbr_calf_cow_ratio( bboudata::bbourecruit_a, adult_female_proportion = 0.60, sex_ratio = 0.65, variance = "bootstrap" )
calfcow_est <- bbr_calf_cow_ratio( bboudata::bbourecruit_a, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "binomial" ) calfcow_est <- bbr_calf_cow_ratio( bboudata::bbourecruit_a, adult_female_proportion = 0.60, sex_ratio = 0.65, variance = "bootstrap" )
The calf cow ratios is simply the number of calves divided by the number of cows.
As described by DeCesare et al. (2012) in order to convert the
calf cow ratio to the female recruitment rate it is necessary to
multiple the calf cow ratio by the sex ratio to get the
female calf to cow ratio and then divide that number by itself plus 1 to
get the female recruitment rate ie female calves divided by all females.
To perform the inverse conversion see bbr_rec_to_cc()
bbr_cc_to_rec(x, sex_ratio = 0.5)
bbr_cc_to_rec(x, sex_ratio = 0.5)
x |
A numeric vector of the calf:cow ratio |
sex_ratio |
A |
A numeric vector of the equivalent recruitment rate
bbr_cc_to_rec(c(0, 1, 0.5, NA))
bbr_cc_to_rec(c(0, 1, 0.5, NA))
This function uses the output of bbr_survival()
and bbr_recruitment()
to
estimate population growth () using the Hatter-Bergerud equation
(Hatter and Bergerud, 1991). Monte Carlo simulation is used to generate
confidence limits.
bbr_growth(survival, recruitment)
bbr_growth(survival, recruitment)
survival |
A data frame generated by |
recruitment |
A data frame generated by |
See the vignette("methods", package = "bbouretro")
for
descriptions of the equations used. The raw_values can be plotted using
bbr_plot_growth_distributions()
and the summary data frame can be output
using bbr_growth_summarize()
or plotted using bbr_plot_growth()
.
A data.frame.
Hatter, Ian, and Wendy Bergerud. 1991. “Moose Recruitment, Adult Mortality and Rate of Change” 27: 65–73.
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) ## End(Not run)
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) ## End(Not run)
Provides a summary of yearly population growth () estimates from
simulations.
bbr_growth_summarize(growth)
bbr_growth_summarize(growth)
growth |
A data frame generated by |
The return object has these columns:
Population name
Year sampled
Estimated survival
Estimated recruitment
Estimated population growth (lambda)
SE
Percentile 95% confidence limits
Percentile 95% confidence limits
Proportion simulations where lambda>1
Mean simulated survival value
Mean simulated recruitment value
Mean simulated population growth (lambda) value
Median simulated population growth (lambda) value
A data frame. The columns are listed in the format section.
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) bbr_growth_summarize(growth_est) ## End(Not run)
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) bbr_growth_summarize(growth_est) ## End(Not run)
A plot of population growth () estimates is given for the
population unit.
bbr_plot_growth(growth)
bbr_plot_growth(growth)
growth |
A data frame generated by |
A ggplot object.
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) bbr_plot_growth(growth_est) ## End(Not run)
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) bbr_plot_growth(growth_est) ## End(Not run)
Create histograms of simulated population growth () values.
bbr_plot_growth_distributions(growth)
bbr_plot_growth_distributions(growth)
growth |
A data frame generated by |
Plots are generated that show the distribution of simulated
population growth () values, the mean estimate (red line). In
addition, a hashed line indicates where
. Plots allow
users to evaluate the symmetry of the distributions of
.
A ggplot object.
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) bbr_plot_growth_distributions(growth_est) ## End(Not run)
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) survival_est <- bbr_survival(bboudata::bbousurv_a) growth_est <- bbr_growth(survival_est, recruitment_est) bbr_plot_growth_distributions(growth_est) ## End(Not run)
A plot of yearly survival is given for each population unit.
bbr_plot_recruitment(recruitment)
bbr_plot_recruitment(recruitment)
recruitment |
A data frame generated by |
A ggplot object.
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) bbr_plot_recruitment(recruitment_est) ## End(Not run)
## Not run: recruitment_est <- bbr_recruitment(bboudata::bbourecruit_a) bbr_plot_recruitment(recruitment_est) ## End(Not run)
A plot of yearly survival is given for each population unit.
bbr_plot_survival(survival)
bbr_plot_survival(survival)
survival |
A data frame generated by |
A ggplot object.
## Not run: survival_est <- bbr_survival(bboudata::bbousurv_a) bbr_plot_survival(survival_est) ## End(Not run)
## Not run: survival_est <- bbr_survival(bboudata::bbousurv_a) bbr_plot_survival(survival_est) ## End(Not run)
Converts the female recruitment rate to the calf cow ratio.
For further information see bbr_cc_to_rec()
.
bbr_rec_to_cc(x, sex_ratio = 0.5)
bbr_rec_to_cc(x, sex_ratio = 0.5)
x |
A numeric vector of the recruitment rate |
sex_ratio |
A |
A numeric vector of the equivalent calf:cow ratio
bbr_rec_to_cc(c(0, 1, 0.5, NA))
bbr_rec_to_cc(c(0, 1, 0.5, NA))
Estimate recruitment using DeCesare et al. (2012) methods.
bbr_recruitment( x, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "bootstrap", year_start = 4L )
bbr_recruitment( x, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "bootstrap", year_start = 4L )
x |
A data frame that has recruitment data. |
adult_female_proportion |
Assumed or estimated proportion of females in the population used to assign unknown sex caribou. Values must be between 0 and 1. Can be set to 0 to exclude unknown sex caribou from recruitment estimates. The default is set at 0.65. |
sex_ratio |
Sex ratio of caribou at birth used to assign calves and yearlings as male or female. Sex ratio is defined as the proportion females at birth. Values must be between 0 and 1. The default is set at 0.5. |
variance |
Estimate variance using "binomial" or "bootstrap". The default is set as "bootstrap". |
year_start |
A whole number between 1 and 12 indicating the month of the start of the caribou (i.e., biological) year. By default, April is set as the start of the caribou year. |
The return object has these columns:
Population name
Year sampled
Recruitment estimate
SE
Confidence limit
Confidence limit
Groups sampled
Estimated female calves
Estimated adult females
x
needs to be formatted in a certain manner. To confirm the input
data frame is in the right format you can use the
bbd_chk_data_recruitment
function. See the vignette("methods", package = "bbouretro")
for the
equations used in this function.
User’s can input the assumed proportion of females in the population (to estimate females from adult caribou that have unknown sex) as well as sex ratio at birth.
A data frame. The columns are listed in the format section.
DeCesare, Nicholas J., Mark Hebblewhite, Mark Bradley, Kirby G. Smith, David Hervieux, and Lalenia Neufeld. 2012 “Estimating Ungulate Recruitment and Growth Rates Using Age Ratios.” The Journal of Wildlife Management 76 (1): 144–53 https://doi.org/10.1002/jwmg.244.
recruitment_est <- bbr_recruitment( bboudata::bbourecruit_a, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "binomial" ) recruitment_est <- bbr_recruitment( bboudata::bbourecruit_a, adult_female_proportion = 0.60, sex_ratio = 0.65, variance = "bootstrap" )
recruitment_est <- bbr_recruitment( bboudata::bbourecruit_a, adult_female_proportion = 0.65, sex_ratio = 0.5, variance = "binomial" ) recruitment_est <- bbr_recruitment( bboudata::bbourecruit_a, adult_female_proportion = 0.60, sex_ratio = 0.65, variance = "bootstrap" )
Estimate survival rates based on the Kaplan-Meier survival rate estimator (Pollock et al. 1989).
bbr_survival( x, include_uncertain_morts = TRUE, variance = "greenwood", year_start = 4L )
bbr_survival( x, include_uncertain_morts = TRUE, variance = "greenwood", year_start = 4L )
x |
A data frame that has survival data. |
include_uncertain_morts |
A flag indicating whether to include uncertain mortalities in total mortalities. The default value is TRUE. |
variance |
Variance type to estimate. Can be the Greenwood estimator
|
year_start |
A whole number between 1 and 12 indicating the month of the start of the caribou (i.e., biological) year. By default, April is set as the start of the caribou year. |
The return object has these columns:
Population name
Year sampled
Survival estimate
SE
Confidence limit
Confidence limit
Mean number of caribou monitored each month
Total number of mortalities in a year
Total number of caribou-months in a year
Indicates less than 12 months monitored or if there were 0 mortalities in a given year
x
needs to be formatted in a certain manner. To confirm the input
data frame is in the right format you can use the
bbd_chk_data_survival
function. See the vignette("methods", package = "bbouretro")
for the
equations used in this function.
A data frame. The columns are listed in the format section.
Pollock, K. H., S. R. Winterstein, C. M. Bunck, and P. D. Curtis. 1989. Survival analysis in telemetry studies: the staggered entry design. Journal of Wildlife Management 53:7-15.
survival_est <- bbr_survival( bboudata::bbousurv_a, include_uncertain_morts = TRUE, variance = "greenwood" ) survival_est <- bbr_survival( bboudata::bbousurv_b, include_uncertain_morts = FALSE, variance = "cox_oakes" )
survival_est <- bbr_survival( bboudata::bbousurv_a, include_uncertain_morts = TRUE, variance = "greenwood" ) survival_est <- bbr_survival( bboudata::bbousurv_b, include_uncertain_morts = FALSE, variance = "cox_oakes" )