Learn R Programming

oce (version 0.9-19)

oceSetData: Set something in the data slot of an oce object

Description

Set something in the data slot of an oce object

Usage

oceSetData(object, name, value, units, note = "")

Arguments

object
an oce object
name
String indicating the name of the item to be set.
value
Value for the item.
units
An optional list specifying units for the item, containing an element named units that is an expression, and a string named scale that describes the scale used. For example, modern temperatures have unit=list(unit=expression(degree*C), scale="ITS-90").
note
A note to be stored in the processing log.