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)

Example output

Move step 3 considered a non-movement
Move step 4 considered a non-movement
Move step 7 considered a non-movement
Move step 9 considered a non-movement
Move step 55 considered a non-movement
Move step 56 considered a non-movement
Move step 66 considered a non-movement
Move step 70 considered a non-movement
Move step 71 considered a non-movement
Move step 77 considered a non-movement
Move step 79 considered a non-movement
Move step 80 considered a non-movement
Move step 81 considered a non-movement
Move step 83 considered a non-movement
Move step 84 considered a non-movement
Move step 85 considered a non-movement
Move step 86 considered a non-movement
Move step 87 considered a non-movement
Move step 88 considered a non-movement
Move step 89 considered a non-movement
Move step 90 considered a non-movement
Move step 92 considered a non-movement
Move step 93 considered a non-movement
Move step 98 considered a non-movement
Move step 102 considered a non-movement
Move step 106 considered a non-movement
Move step 107 considered a non-movement
Move step 108 considered a non-movement
Move step 111 considered a non-movement
Move step 112 considered a non-movement
Move step 119 considered a non-movement
Move step 120 considered a non-movement
Move step 122 considered a non-movement
Move step 129 considered a non-movement
Move step 132 considered a non-movement
Move step 144 considered a non-movement
Move step 149 considered a non-movement
Move step 150 considered a non-movement
Move step 170 considered a non-movement
Move step 171 considered a non-movement
Move step 173 considered a non-movement
Move step 184 considered a non-movement
Move step 202 considered a non-movement
Move step 216 considered a non-movement
Move step 234 considered a non-movement
Move step 235 considered a non-movement
Move step 240 considered a non-movement
Move step 241 considered a non-movement
Move step 242 considered a non-movement
Move step 243 considered a non-movement
Move step 246 considered a non-movement
Move step 247 considered a non-movement
Move step 252 considered a non-movement
Move step 254 considered a non-movement
Move step 266 considered a non-movement
Move step 267 considered a non-movement
Move step 270 considered a non-movement
Move step 273 considered a non-movement
Move step 284 considered a non-movement
Move step 285 considered a non-movement
Move step 286 considered a non-movement
Move step 287 considered a non-movement
Move step 319 considered a non-movement
Move step 321 considered a non-movement
Move step 330 considered a non-movement
Move step 331 considered a non-movement
Move step 332 considered a non-movement
Move step 334 considered a non-movement
Move step 337 considered a non-movement
Move step 338 considered a non-movement
Move step 339 considered a non-movement
Move step 341 considered a non-movement
Move step 342 considered a non-movement
Move step 345 considered a non-movement
Move step 349 considered a non-movement
Move step 358 considered a non-movement
Move step 362 considered a non-movement
Move step 363 considered a non-movement
Move step 370 considered a non-movement
Move step 371 considered a non-movement
Move step 374 considered a non-movement
Move step 375 considered a non-movement
Move step 379 considered a non-movement
Move step 380 considered a non-movement
Move step 381 considered a non-movement
Move step 382 considered a non-movement
Move step 384 considered a non-movement
Move step 390 considered a non-movement
Move step 392 considered a non-movement
Move step 405 considered a non-movement
Move step 406 considered a non-movement
Move step 407 considered a non-movement
Move step 408 considered a non-movement
Move step 409 considered a non-movement
Move step 410 considered a non-movement
Move step 411 considered a non-movement
Move step 412 considered a non-movement
Move step 413 considered a non-movement

mkde documentation built on May 2, 2019, 6:46 a.m.