Learn R Programming

anipaths (version 0.10.5)

crawl_interpolation: 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
)

Value

interpolation values from crawl package

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 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.