Description Usage Arguments Details Value
Format a 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 rwg
to format track
data for the TMB filter.
The input track is given as a dataframe 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,] +
(1ws)*x[idx+2,]
. If extrap
is TRUE
, the final
observations occur after the final predicted state and the fitted
locations are extrapolations from the final states, otherwise the
final observations occur before the final predicted state and all
fitted locations are interpolations.
By default the function uses the same ARGOS multiplication factors to scale location accuracy by location class as used in the crawl Rpackage.
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.