Simple summary of abundance results for bootstrap model
Source:R/bootdht_Nhat_summarize.R
bootdht_Nhat_summarize.Rd
When using bootdht
one needs to use a summary function to
extract results from the resulting models per replicate. This function is
the simplest possible example of such a function, that just extracts the
estimated abundance (with stratum labels).
Arguments
- ests
output from
dht2
.- fit
fitted detection function object (unused).
Value
data.frame
with two columns ("Nhat
" and "Label
"), giving the
estimate(s) of abundance of individuals per stratum from each bootstrap
replicate. This data.frame
can be examined for example, with
quantile
to compute confidence intervals.
Details
Further examples of such functions can be found at http://examples.distancesampling.org.
See also
bootdht
which this function is to be used with and
bootdht_Dhat_summarize
which does the same job
but for abundance results.