Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

geoSpectral (version 0.17.5)

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

Description

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

Usage

SpcHeaderAdd (object,Name,Value,...)

# S4 method for 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

Run this code
# NOT RUN {
sp=spc.example_spectra()
sp@header
sp@ShortName
sp@header=SpcHeaderAdd(sp@header,sp@ShortName,10)
sp@header
# }

Run the code above in your browser using DataLab