calcTsplit() is a lower-level function that requires
the output of calcRate as input. See calcSplits
for a more powerful, convenient, and flexible alternative.
calcTsplit(rate, days, tsplit)Array (nsim x nsearch) of arrival rates as number of fatalities
per search interval. Typically, rate will be the return value of
the calcRate function.
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.
A vector of times that splits the monitoring period into a
set of time intervals for which calcTsplit will estimate the
number of fatalities. For example, if tsplit = c(0, 14, 19, 35),
then calcTsplit estimates the number of fatalities occuring in
interval (0, 14], (14, 19], and (19, 35]. Times in tsplit must be
increasing and between 0 and max(days), inclusive.
A numeric array with dimensions
dim = c(length(tsplit) - 1, nsim) giving the estimated number of
fatalities that occured in each time interval.