cu_crw_argos: Batch Fitting CTCRW Models for Argos (and FastGPS) Data

View source: R/cu_crw_argos.R

cu_crw_argosR Documentation

Batch Fitting CTCRW Models for Argos (and FastGPS) Data

Description

A basic CTCRW model is fitted to a list of data sets where each element in the list represents the data for a single individual or deployment.

Usage

cu_crw_argos(
  data,
  move_phase = NULL,
  bm = FALSE,
  use_prior = TRUE,
  crw_control = NULL,
  fit = TRUE,
  skip_check = FALSE,
  ...
)

Arguments

data

A data set containg the telemetry data for a single individual. Will also accept a single sf data frame as well.

move_phase

An optional character value indicating a factor variable column in the data that designates different movement phases.

bm

Fit a Brownian Motion model rather than in integrated OU model. Defaults to bm = FALSE.

use_prior

Logical. Should a sensible mixture normal prior be use for the log beta and log error scale parameters to impose a soft constraint for better numerical optimization. Default is TRUE.

crw_control

A named list passed to crwMLE for optimization. Alternatives for the default values of initialSANN, attempts, control, theta, fixPar, constr, and prior can be specified here. See crwMLE for a description of these arguments. WARNING!!! No checks are made for validity of the user override. So know what you are doing.

fit

Logical. CTCRW parameters are estimated if fit=TRUE (default), else the results of displayPar.

skip_check

See crwMLE v2.3.0. Currently ignored.

...

Additional arguments passed to the foreach function, e.g., for error handling in the loop.


dsjohnson/crawlUtils documentation built on Sept. 13, 2024, 1:34 p.m.