Learn R Programming

oce (version 0.2-1)

historyAppend: Copy an object, but with an updated history.

Description

Copy an object, but with an updated history.

Usage

historyAppend(x, action="")

Arguments

x
an oce object.
action
a character string describing the action.

Value

  • A copy of the object, but with the history containing the new entry.

Details

This returns an object with an updated history.

Examples

Run this code
data(ctd)
ctd$metadata$latitude <- ctd$metadata$latitude + 1
ctd <- historyAppend(ctd, "correct latitude")

Run the code above in your browser using DataLab