prefilter: Prefilter

Description Usage Arguments Details Value Examples

Description

Prefilter

Usage

1
2
prefilter(dat, metadata, min_obs, min_days, vmax, sp = NULL,
  path2repo = NULL)

Arguments

dat

provide example royal penguin tracking data

metadata

provide example royal penguin metadata

min_obs

minimum number of observation records a deployment must have

min_days

minimum number days a deployment must last

vmax

maximum travel rate (m/s) for speed filter

sp

for future functionality, not currently used

path2repo

for future functionality, not currently used

Details

Prepare standardised track data for state-space filtering by performing further standardisation and culling unacceptably short deployments

The track data are fetched automatically from the RAATD repository by specifying a species' abbreviated name.

Value

writes a tibble to a .csv file with the following variables:

id

individual animal id

date

POSIX date-time

lc

location quality class

lon

longitude

lat

latitude

device_type

tag type: GPS, PTT, or GLS

keep

should record be used of ignored by SSM filter (logical)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
## prefilter RAATD royal penguin tracks
## load example data
data(rope)

pfd <- prefilter(
  dat = rope,
  metadata = meta,
  min_obs = 30,
  min_days = 5,
  vmax = 10
  )

## End(Not run)

ianjonsen/duckConfit documentation built on May 30, 2019, 4:36 p.m.