Learn R Programming

oce (version 0.1-75)

oce.edit: 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

Value

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

Details

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

Examples

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

Run the code above in your browser using DataLab