predict.tide {oce}R Documentation

Predict a time series from a tidal model

Description

Predict a time series from a tidal model.

Usage

predict.tide(object, ...)

Arguments

object a tide object.
... optional arguments passed on to children.

Details

This is a wrapper around the predict method for object$model.

Value

A vector of predictions.

Author(s)

Dan Kelley

See Also

tidem fits a tidal model.

Examples

library(oce)
data(sealevel.tuk)
tide <- tidem(sealevel.tuk)
plot(sealevel.tuk$data$t, sealevel.tuk$data$eta, type='l', ylim=c(-2,5))
lines(sealevel.tuk$data$t, sealevel.tuk$data$eta - predict(tide), col="red")

[Package oce version 0.1-76 Index]