usagehistory: History of usage

usagehistoryR Documentation

History of usage

Description

Function to read and write history of usage for Speclibs. Similar to a log file, the history of usage records processing steps applied to a Speclib.

Usage

usagehistory(x)
usagehistory(x) <- value

Arguments

x

Object of class Speclib

value

Character string to be added to usagehistory or NULL, if usagehistory should be deleted.

Value

For usagehistory<-, the updated object. Otherwise a vector containing the history of usage of Speclib is returned.

Author(s)

Lukas Lehnert

See Also

Speclib

Examples

data(spectral_data)

## Return history of usage
usagehistory(spectral_data)

## Deleting history of usage
usagehistory(spectral_data) <- NULL
spectral_data

## Adding entries
usagehistory(spectral_data) <- "New entry"   ## Adding new entry
usagehistory(spectral_data) <- "New entry 2" ## Adding second entry
spectral_data


hsdar documentation built on March 18, 2022, 6:35 p.m.