predictCamtrap: Predict number of individuals within the range of camera trap...

View source: R/camera trap package E.r

predictCamtrapR Documentation

Predict number of individuals within the range of camera trap grid

Description

This function matches the real camera trap result with pseudo camera trap result simulated for a series number of individuals, to find the best fit of animal abundance with real camera trap result.

Usage

predictCamtrap(simu, x, plot = F)

Arguments

simu

The result of function simuCamtrap().

x

A data.frame with column names "Lon", "Lat", "Group_size", "Date", "Time"

plot

a boolean variable, if TRUE, plot the probability density of estimated animal abundance

Value

The mean value, 95% confidence intervals of the predicted animal abundance, based on a vector of the predicted animal abundance from 1000 random forest trees.

Author(s)

Xinhai Li (Xinhai_li_edu@126.com)

Examples


 attach(trapresult)
 # sim.out = simuCamtrap(trapresult, ind = 10, iteration = 2) # need a few minutes
 predictCamtrap(sim.out, trapresult, plot=T)


Xinhai-Li/Rcameratrap documentation built on March 22, 2022, 9:57 a.m.