as.topo {oce} | R Documentation |
Coerces a dataset into a topo (topographic) dataset.
as.topo(longitude, latitude, z, units=NULL, filename="")
longitude |
either a vector of longitudes, or a |
latitude |
a vector of latitudes |
z |
a matrix of heights (positive over land) |
units |
an optional list giving units for |
filename |
name of data (used when called by |
Mainly used by read.topo
.
An object of class
"topo"
.
Dan Kelley
read.topo
, which calls this.