Description Usage Arguments Value
function description
1 |
par |
parameters to be guessed (in this case c(log(sigma), log(lambda))). The parameters are logged so that they're always positive. |
K |
The maximum possible true abundance, N. I've been using round(lambda * 10) as a default. |
n_dat |
matrix of observations at all sites (rows) and samples/replicates (columns) |
W |
Transect half-width (meters). If not set, it uses the maximum observed distance. |
y_dat |
vector of distances (meters) for all observations |
distance_sampling |
logical. Whether or not to incorporate distance data into likelihood. |
total negative log likelihood of the data given the parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.