Learn R Programming

TideHarmonics (version 0.1-1)

print.tide: Print Tidal Object

Description

Printing a tidal object.

Usage

# S3 method for tide
print(x, digits = max(3L, getOption("digits") - 3L), …)

Arguments

x
An object of class 'tide'.
digits
Number of printed digits.
Not used.

Value

The tidal object is invisibly returned.

Details

A different features vector is printed based on whether the form factor is less than 0.5 (indicating a semi-diurnal site) or greater than or equal to 0.5 (indicating a diurnal or mixed semi-diurnal site). If the four harmonic constituents M2 S2 K1 O1 are not included in the fit, then the features vector cannot be calculated and is not printed.

Phase lags are always printed with respect to UTC. The utc argument of coef.tide can be used to produce phase lags for different time zones.

See Also

ftide, coef.tide

Examples

Run this code
hfit1 <- ftide(Hillarys$SeaLevel, Hillarys$DateTime, hc60)
hfit2 <- ftide(Hillarys$Sea, Hillarys$Date, hc7, smsl=TRUE)
hfit1
hfit2

Run the code above in your browser using DataLab