REST | R Documentation |
REST
fits the random encounter and staying time model of
Nakashima et al (2018), which models the relationship between camera
encounter rate, staying time and density. The model assume that cameras
sample a viewshed of area A
with perfect detection.
REST(formula, data, starts, method="BFGS", se=TRUE, ...)
data |
A |
starts |
Initial values for parameters |
method |
Optimisation method |
se |
flag to return the standard error (hessian). |
formula |
formula for animal density. |
a efit
model object.
y<- san_nic_rest$y
stay<- san_nic_rest$stay
cens<- san_nic_rest$cens
area<- san_nic_rest$area
active_hours<- san_nic_rest$active_hours
emf <- eFrameREST(y, stay, cens, area, active_hours)
mod <- REST(~1, data=emf)
Nhat<- calcN(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.