eFrameDS | R Documentation |
eFrameDS
creates an eFrame data object for data collected by
distance sampling, specifically from remote cameras. Distance sampling
is used to estimate the area of a camera viewshed by fitting a detection
function and estimating the effective sampled area.
eFrameDS(distance, size, siteID, cutpoints, w, bin_nums = FALSE)
distance |
A vector of distances (or distance bin number) for each detected individual. Actual distances are the distance (m) to the midpoint of each distance bin. |
size |
the number of individuals recorded for each distance measurement (i.e. groupsize). |
siteID |
A vector indicating the camera ID for each distance measurement. |
cutpoints |
vector of bin cutpoints indicating the distance to the end of each bin. cutpoints should begin at zero and end with w. |
w |
Truncation distance or maximum distance from camera that will be considered in the analysis. All distances or bins further than this will be discarded. |
bin_nums |
A logical indicating whether |
a eFrameDS
holding data containing the data suitable for estimating a
camera detection function
ddata<- HogDeer$ddata
cutpoints<- HogDeer$cutpoints
emf<- eFrameDS(ddata$distance, ddata$size, ddata$camID, cutpoints, w=12.5, bin_num=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.