Description Usage Arguments Details Value
Format ARGOS track data for filtering
1 |
d |
a data frame of observations (see details) |
tstep |
the time step to predict to (in days) |
extrap |
if TRUE, the final predicted state occurs immediately before the last observation, otherwise the final predicted state occurs immediately after the last observation. |
amf |
Argos error scale mmultiplication factors |
This is an internal function used by fit_ssm
to format track
data for the TMB filter.
The input track is given as a data.frame where each row is an observed location and columns
observation time (POSIXct,GMT),
observed longitude,
observed latitude,
ARGOS location class.
From this it calculates interpolation indices idx
and
weights ws
such that if x
is the matrix of predicted
states, the fitted locations are ws*x[idx+1,] +
(1-ws)*x[idx+2,]
.
By default the function uses the same ARGOS multiplication factors to scale location accuracy by location class as used in crawl.
A list with components
|
a 2 column matrix of the lon,lat observations |
|
a 2 column matrix of the ARGOS scale factors |
|
a vector of interpolation indices |
|
a vector of interpolation weights |
|
the times at which states are predicted (POSIXct,GMT) |
|
the time step at which states are predicted (secs) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.