oce.edit {oce}R Documentation

Edit an oce object

Description

Edit an element of a oce object

Usage

oce.edit(x, item, value,
         reason="not specified", person="not specified")

Arguments

x a oce object.
item a character string naming an item in the object's metadata
value the new value for the item
reason the reason for the change
person name of person making the change

Details

As of now, only elements in the metadata can be altered.

Value

An object of class "oce", with a new value for the item (and with a new line in the processing log).

Author(s)

Dan Kelley

Examples

library(oce)
data(ctd)
ctd2 <- oce.edit(ctd, "latitude", 47.8879, "change last digit, for illustration", "Dan Kelley")
summary(ctd2)

[Package oce version 0.1.71 Index]