Learn R Programming

oce (version 0.2-1)

as.topo: Coerce data into topo dataset

Description

Coerces a dataset into a topo (topographic) dataset.

Usage

as.topo(longitude, latitude, z, filename="", history)

Arguments

longitude
a vector of longitudes
latitude
a vector of latitudes
z
a matrix of heights (positive over land)
filename
name of data (used when called by read.topo)
history
a log action (used when called by read.topo)

Value

  • An object of class "topo".

Details

Mainly used by read.topo.

See Also

read.topo, which calls this.