Learn R Programming

oce (version 0.2-1)

historyAdd: Add an item to object history

Description

Add an item to object history

Usage

historyAdd(h, action="")

Arguments

h
a historyIf NULL, a new history is created.
action
a character string describing the action.

Value

  • The updated history.

Details

This is used to add a time-stamped item to the history of the object.

Examples

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

Run the code above in your browser using DataLab