spc.setheader: Set a field of the @header slot of a 'Spectra' object

Description Usage Arguments See Also Examples

Description

Function sets or changes the value of a field in the header slot of Spectra object

Usage

1
2
3
4
spc.setheader(object) <- value

## S4 replacement method for signature 'Spectra'
spc.setheader(object) <- value

Arguments

object

A Spectra object

value

Object of class SpcHeader

See Also

spc.getheader

Examples

1
2
3
4
5
sp=spc.example_spectra()
a=new("SpcHeader") # create new SpcHeader class
a$Longitude=123 
spc.setheader(sp) <- a
sp@header

PranaGeo/geoSpectral documentation built on Feb. 21, 2020, 10:22 a.m.