eFrameREST | R Documentation |
eFrameREST
creates an eFrame data object for use with the REST
model applied to camera trap data using the MLE given in:
Nakashima,Y., Fukasawa, K., and Samejima H. (2018). J.App.Ecol,55,735-744.
eFrameREST(y, stay, cens, area, active_hours, siteCovs = NULL)
y |
An MxJ matrix of the observed number of encounters at a camera over
a specified period (usually 24h but could be less - see |
stay |
A vector of the observed staying times, which are the difference between the exit and entry times for all (or a sample) of individuals |
cens |
A vector indicating whether both entry and exit times were
observed for each of the staying times ( |
area |
A scalar indicating The area of the camera viewshed in square meters. This area is assumed to have a detection probability of 1.0 (effective sampling area). |
active_hours |
A scalar indicating the number of hours in each 24 hour period that the species is active |
siteCovs |
A |
a eFrameREST
holding data containing the response and
covariates required for the REST model
counts<- rest$y
stay<- rest$stay
cens<- rest$cens
A<- rest$area # in km2
active<- rest$active_hours
emf<- eFrameREST(counts, stay, cens, A, active, siteCovs = site.data)
summary(emf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.