usagehistory: History of usage

Description Usage Arguments Value Author(s) See Also Examples

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

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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 Aug. 4, 2020, 5:06 p.m.