is.bathy {marmap} | R 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)
[Package marmap version 1.0.10 Index]