Learn R Programming

acmeR (version 1.1.0)

Rst: Evalute ACME Reduction Factor R*

Description

Calculates R*, the reduction factor (inverse of inflation factor for mortality estimates), based on parameter estimates and maximum number of previous search intervals to consider.

Usage

Rst(Iij = 7, arabt = c(alp = 0.4695, rho = 0.0809, a = 1.0322, b = 0.0706, bt = 0.9573), kmax = 5, v = FALSE)

Arguments

Iij
Search interval length (days)
arabt
5-element vector: alpha and rho parameters for the Weibull persistence distribution, a and b parameters for the Exponential search proficiency distribution, and bt as the bleed-through parameter
kmax
number of intervals to use in calculation - includes current interval and number of look-back intervals. Minimum is 1 (only current interval).
v
logical. Verbose flag - see Value for what is reported

Value

If verbose, returns upper bound on truncation error (total and as a fraction of R*), R* calculated from only current interval, and expected fraction of "old" carcasses discovered. If not verbose, returns only R*.