logSpeed: calculate estimate of log speed from a crwPredict object
Description
Calculates log speed estimates and standard errors based on the delta
method. Typically this is used within the function
crwPredict
.Usage
logSpeed(predx, predy, varx, vary, polar.coord)
Arguments
predx
matrix of longitude state estimates.
predy
matrix of latitude state estimates.
varx
an array of covariance matrices for predx.
vary
ana array of covariance matrices for predy.
polar.coord
Logical. TRUE if coordinates are polar.
Value
- data.frame with colums:
- ln.speedlog speed estimate (in meters/time unit if
polar.coord=TRUE
. - var.ln.speedlog speed estimated standard error.