is.bathy: Test whether an object is of class bathy

View source: R/is.bathy.R

is.bathyR Documentation

Test whether an object is of class bathy

Description

Test whether an object is of class bathy

Usage

is.bathy(xyz)

Arguments

xyz

three-column data.frame with longitude (x), latitude (y) and depth (z) (no default)

Value

The function returns TRUE or FALSE

Author(s)

Eric Pante

See Also

as.bathy, summary.bathy, read.bathy

Examples

# load NW Atlantic data
data(nw.atlantic)

# test class "bathy"
is.bathy(nw.atlantic)

# use as.bathy
atl <- as.bathy(nw.atlantic)

# class "bathy"
class(atl)
is.bathy(atl)

# summarize data of class "bathy"
summary(atl)


marmap documentation built on March 31, 2023, 6:59 p.m.

Related to is.bathy in marmap...