Description Usage Arguments Value See Also Examples
Maximum likelihood estimates for probability of occupancy and probability of
detection coditional on site being occupied using the get_zib_likelihood
function.
1 | get_zib_ml(data, ci = 0.95)
|
data |
Data.frame with at least two columns: one named obs_counts with the observed counts at each site, and once called n_tests with the number of tests per sites |
ci |
Value for confidence interval (between 0 and 1) |
A data.frame with maximum likelihood estimates for probability of occupancy and probability of detection given site is occupied, plus confidence interval around the estimates.
1 2 | data <- maldetectr::sim_zib_data( n_sites = 10, n_samples = 5, p_oc = 0.2, p_dt = 0.8 )
maldetectr::get_zib_ml( data = data, ci = 0.95 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.