print.tide: Print Tidal Object

Description Usage Arguments Details Value See Also Examples

View source: R/tidefit.R

Description

Printing a tidal object.

Usage

1
2
## 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

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

TideHarmonics documentation built on May 19, 2017, 6:17 p.m.

Search within the TideHarmonics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.