Description Usage Arguments Value
Function for getting an estimate of the posterior distribution of N from my optim models. This is from the unmarked::ranef() function: https://github.com/rbchan/unmarked/blob/master/R/ranef.R and is needed for calculating Observation rq residuals.
1 2 3 4 5 6 7 8 9 10 |
lambda_est |
estimated lambda value |
n_obs |
number observed |
K |
maximum N possible (typically obtained from n_obs) |
p_est |
detection probability. Given if sampling_method == 'pointcount'. Calculated from if_distance__sigma_est if sampling_method == 'distance' |
sampling_method |
either 'pointcount' or 'distance' |
if_distance__sigma_est |
Estimated detection parameter, sigma. Only needed if sampling_method == distance |
if_distance__W |
Transect half-width. Only needed if sampling_method == distance |
if_distance__y_list |
array of distance data with row = site, col = repl, 3rd dim = observations. Only needed if sampling_method == distance |
PDF of possible counts. Formatted as an array of probabilities with row = site, col = repl, 3rd dim = observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.