plot.Spectra {soil.spec}R Documentation

Plots spectral signatures

Description

Plots spectral signatures. Each line represents a single sample.

Usage

## S4 method for signature 'Spectra,ANY'
plot(x, y, ...)

Arguments

x

object of class "Spectra"

y

ignored

...

other optional arguments

Details

Wavenumbers are shown on the x-axis at the bottom. The second top x-axis displays the equivalent of wavenumbers interms of wavelengths.

Author(s)

Andrew Sila and Tomislav Hengl

Examples

## Not run: ## Original binary Opus files:
pth = system.file(package = "soil.spec")
lst <- as.list(list.files(path=pth, pattern="*.0$", full.names=TRUE))
xx <- read.opus(lst[[1]])
plot(xx@data)

## End(Not run)

[Package soil.spec version 0.2.0 Index]