crawl_interpolation: Single and Multiple Realizations Using crawl Package

Description Usage Arguments Value

View source: R/crawl_interpolation.R

Description

Single and Multiple Realizations Using crawl Package

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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 May 17, 2021, 5:07 p.m.