Learn R Programming

geoSpectral (version 0.17.5)

Arith,Spectra,Spectra-method: Apply arithmetic operations on and between Spectra objects.

Description

Methods defining Arithmetic and Math operations between two Spectra objects e1 and e2 or one Spectra object e1 and a numeric value.

Usage

# S4 method for Spectra,Spectra
Arith(e1, e2)

# S4 method for Spectra,numeric Arith(e1, e2)

# S4 method for Spectra Math(x)

Arguments

e1

spectra object

e2

spectra object or other

x

spectra object

Details

These methods allow performing arithmetic operations involving Spectra objects.

See Also

Arith