fill.missing.days: Fill in missing days

Description Usage Arguments Value

Description

Interpolate between known positions to fill in missing days

Usage

1
fill.missing.days(id, date, lat, lon, maxinterp = 7, interp = 1)

Arguments

id

Vector of length N of animal identifiers (so the last day of one animal is not interpolated to the first day of the next)

date

Vector of length N of either an rdate or some other integer

lat

Vector of length N of latitudes

lon

Vector of length N of longitudes

maxinterp

Maximum number of missing days to fill between two data points (<=maxinterp)

interp

number of positions per day to interpolate

Value

Data frame of interpolated date/positions with columns id, date, lat, lon (note: original positions are not returned)


sherrillmix/GMTHexMapR documentation built on May 29, 2019, 9:23 p.m.