predict.rwalc: Extract Predicted RWalc Track

View source: R/RWalc.R

predict.rwalcR Documentation

Extract Predicted RWalc Track

Description

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

Usage

## 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 June 10, 2025, 6:46 a.m.