calcTsplit {GenEst} | R Documentation |
Estimate the number of fatalities by time interval
Description
calcTsplit()
is a lower-level function that requires
the output of calcRate
as input. See calcSplits
for a more powerful, convenient, and flexible alternative.
Usage
calcTsplit(rate, days, tsplit)
Arguments
rate |
Array (nsim x nsearch) of arrival rates as number of fatalities
per search interval. Typically, |
days |
A vector of times representing search dates when at least one unit was searched. Times are formatted as number of days since the first search, e.g., c(0, 7, 14, 28, 35) would indicate a schedule in at least one unit was searched every 7 days. |
tsplit |
A vector of times that splits the monitoring period into a
set of time intervals for which |
Value
A numeric array with dimensions
dim = c(length(tsplit) - 1, nsim)
giving the estimated number of
fatalities that occured in each time interval.