SpcHeaderAdd: Set a field of the @header slot of a 'SpcHeader' class object

Description Usage Arguments Examples

Description

Function add the value of a field in the header slot of SpcHeader class object

Usage

1
2
3
4
SpcHeaderAdd (object,Name,Value,...)

## S4 method for signature 'SpcHeader'
SpcHeaderAdd(object, Name, Value)

Arguments

object

of class SpcHeader

Name

a character variable

Value

a numeric variable

...

arguments to be passed to or from other methods

Examples

1
2
3
4
5
sp=spc.example_spectra()
sp@header
sp@ShortName
sp@header=SpcHeaderAdd(sp@header,sp@ShortName,10)
sp@header

PranaGeo/Spectral documentation built on Feb. 21, 2020, 12:36 p.m.