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
)
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
A data frame that has survival data.
A flag indicating whether to include uncertain mortalities in total mortalities. The default value is TRUE.
Variance type to estimate. Can be the Greenwood estimator
"greenwood"
or Cox Oakes estimator "cox_oakes"
. The default is
"greenwood".
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.
A data frame. The columns are listed in the format section.
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.
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"
)