deselectNonMovementSteps: Flag non-movements so they are excluded from MKDE estimation

Description Usage Arguments Details Value Author(s) Examples

View source: R/mkdeFunctions.R

Description

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

Usage

1

Arguments

move.dat

A move data object created with initializeMovementData

p

The threshold probability

Details

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.

Value

An updated move data list object is returned.

Author(s)

Jeff A. Tracey, PhD
USGS Western Ecological Research Center, San Diego Field Station
[email protected]
James Sheppard, PhD
San Diego Zoo Institute for Conservation Research
[email protected]

Examples

1
2
3
4
5
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)

mkde documentation built on May 29, 2017, 8:26 p.m.