predict.rwalc: Extract Predicted RWalc Track

Description Usage Arguments Details Value

View source: R/RWalc.R

Description

Subset the fitted track to return only those locations that correspond to the prediction times and segments.

Usage

1
2
## S3 method for class 'rwalc'
predict(object, vel = FALSE, se = FALSE, ...)

Arguments

object

A fitted object of class "rwalc".

vel

Logical indicating whether estimated velocities should be returned.

se

Logical indicating whether estimated standard errors should be returned.

...

Ignored.

Details

The current implementation can only extract predicted locations for the times and segments specified in the call to rwalc.

Value

Returns a dataframe of predicted track locations with columns

segment

track segment

date

time (as GMT POSIXct)

x

x coordinate

y

y coordinate

x.v

x component of velocity

y.v

y component of velocity

x.se

standard error of x coordinate

y.se

standard error of y coordinate

x.v.se

standard error of x component of velocity

y.v.se

standard error of x component of velocity

The velocities are omitted when vel is FALSE and the standard errors are omitted when se is FALSE.


SWotherspoon/RWalc documentation built on Feb. 25, 2021, 8:26 p.m.