Learn R Programming

geoSpectral (version 0.17.5)

head,Spectra-method: Return the first or last part of a Spectra object

Description

Return the first or last parts of a Spectra object

Usage

# S4 method for Spectra
head(x, ...)

Arguments

x

a Spectra object

...

arguments to be passed to or from other methods

Value

Returns a matrix (Spectra data)

Examples

Run this code
# NOT RUN {
x <- spc.example_spectra()
head(x)

# }

Run the code above in your browser using DataLab