paths_gam_interp: Synchronous GAM interpolation of all paths

Description Usage Arguments Value

View source: R/gam_interpolation.R

Description

Synchronous GAM interpolation of all paths

Usage

1
paths_gam_interp(paths, coord, Time.name, time.grid, s_args = NULL)

Arguments

paths

lists of data.frames containing positions, times, and covariate for each individual

coord

two-vector of character strings giving names of x and y coordinates in data.frames

Time.name

character string giving name of time variable in data.frames

time.grid

grid of possible times to use for interpolation (individuals will only be interpolated to times within the range of observation times)

s_args

Arguments to mgcv::s() can be passed using a named list/vector.

Value

list of interpolated paths by individual


anipaths documentation built on May 17, 2021, 5:07 p.m.