View source: R/mkdeFunctions.R
deselectNonMovementSteps | R Documentation |
This function deselects move steps where the probability that the initial and final location are the same location is greater than or equal to a user-defined threshold probability
deselectNonMovementSteps(move.dat, p)
move.dat |
A move data object created with |
p |
The threshold probability |
If the probability that the initial and final location are the same
location is greater than or equal to a user-defined threshold
probability, the corresponding value in move.dat$use.obs is set to
FALSE. Note that this function is not called within initialzeDensity
.
If you want to exclude locations because they the initial location in
a non-movement step, this function must be used before computing the density.
An updated move data list object is returned.
Jeff A. Tracey, PhD
USGS Western Ecological Research Center, San Diego Field Station
jatracey@usgs.gov
James Sheppard, PhD
San Diego Zoo Institute for Conservation Research
jsheppard@sandiegozoo.org
data(condor)
mv.dat <- initializeMovementData(condor$time, condor$x, condor$y,
z.obs=condor$z, sig2obs=25.0, sig2obs.z=81.0, t.max=65.0)
mv.dat <- deselectNonMovementSteps(mv.dat, 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.