Learn R Programming

geoSpectral (version 0.17.5)

spc.getheader: Extract a field of the @header slot of a Spectra object

Description

Extracts the value of a field in the header slot of Spectra object

Usage

spc.getheader(object,name)

# S4 method for Spectra spc.getheader(object, name)

Arguments

object

A Spectra object

name

of the header field to be extracted

See Also

spc.setheader<-

Examples

Run this code
# NOT RUN {
sp=spc.example_spectra()
sp@header
spc.getheader(sp,"Latitude")
# }

Run the code above in your browser using DataLab