TwilightFree: Specify a model for forwards-backwards estimation

Description Usage Arguments Value

View source: R/TwilightFree.R

Description

Specify a model for forwards-backwards estimation

Usage

1
2
3
TwilightFree(df, alpha = c(1, 1/10), beta = c(1, 1/4), dt = NULL,
  threshold = 5, zenith = 96, deployed.at = F, retrieved.at = F,
  fixd = NULL, sst = NULL)

Arguments

df

data.frame containing 'Light', 'Date', and optionally 'Temp' data

alpha

hyperparameters for the noise (shading) assumption

beta

hyperparameters for the movement assumption

dt

optional parameter specifying the number of seconds in a segment (day)

threshold

tag-specific value for luminance at twilight (obtained by calibration)

zenith

solar zenith angle at twilight

deployed.at

deployment location c(lon, lat) for first day of observation

retrieved.at

retrieval location c(lon, lat) for last day of observation

fixd

optional data.frame of fixed (known) locations containing 'Date', 'Lon', 'Lat' (will overwrite deployed.at and retrieved.at locations if != NULL)

sst

raster of SST data from NOAA OI SST

Value

a TwilightFree model object which can be fitted using SGAT::essie()


ABindoff/TwilightFree documentation built on March 10, 2021, 2:16 p.m.