tide_height: Tide Height

Description Usage Arguments Value

View source: R/tide-height.R

Description

Calculates tide height at specified stations based on the supplied harmonics object.

Usage

1
2
3
4
5
6
7
8
tide_height(
  stations = "Monterey Harbor",
  minutes = 60L,
  from = as.Date("2015-01-01"),
  to = as.Date("2015-01-01"),
  tz = "UTC",
  harmonics = rtide::harmonics
)

Arguments

stations

A character vector of stations to match - treated as regular expressions.

minutes

An integer of the number of minutes between tide heights

from

A Date of the start of the period of interest

to

A Date of the end of the period of interest

tz

A string of the time zone.

harmonics

The harmonics object.

Value

A data frame of the tide heights in m by the number of minutes for each station from from to to.


rtide documentation built on May 30, 2021, 1:07 a.m.