crawl_interpolation: Single and Multiple Realizations Using crawl Package

View source: R/crawl_interpolation.R

crawl_interpolationR Documentation

Single and Multiple Realizations Using crawl Package

Description

Single and Multiple Realizations Using crawl Package

Usage

crawl_interpolation(
  coord,
  delta.t,
  ID_names,
  max_refit_attempts,
  n.indiv,
  paths,
  paths.proj,
  paths.tranform.crs,
  simulation,
  simulation.iter,
  time.grid,
  Time.name
)

Arguments

coord

A character vector of length 2 giving the names of the longitude/easting and latitude/northing columns in the paths data.frame (in that order). This is required if paths is not a SpatialPointsDataFrame.

delta.t

The gap in time between each frame in the animation. Specify one of delta.t or n.frames. If both are specified, delta.t is used.

ID_names

a list of names for each animal in the data

max_refit_attempts

an integer of number of attempts per individual to fit crawl model

n.indiv

an integer of the total number of unique animals in the data

paths

A list of all paths from each animals stored in a data.frame or SpatialPointsDataFrame object.

paths.proj

PROJ.4 string corresponding to the projection of the data

paths.tranform.crs

a character string of CRS coordinate projection transformation based on the animals' location.

simulation

logical. Generate simulation predictions to have multiple projects for the animal paths

simulation.iter

an integer of how many paths the crawl model will generate

time.grid

grid for synchronized interpolations

Time.name

The name of the columns in paths gving the observation times. This column must be of class POSIXt, or numeric.

pt.colors

A vector of colors to be used for each individual in the animation.

Value

interpolation values from crawl package


anipaths documentation built on Jan. 17, 2023, 1:14 a.m.