print.tide {TideHarmonics}R Documentation

Print Tidal Object

Description

Printing a tidal object.

Usage

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

Arguments

x

An object of class 'tide'.

digits

Number of printed digits.

...

Not used.

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.

Value

The tidal object is invisibly returned.

See Also

ftide, coef.tide

Examples

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

[Package TideHarmonics version 0.1-1 Index]