wl_units: Wavelengths of Spectra* objects

Description Usage Arguments Value Author(s) Examples

Description

Retrieves the wavelengths units from Spectra* object

Usage

1
2
3
4
wl_units(object)

## S4 replacement method for signature 'Spectra'
wl_units(object) <- value

Arguments

object

an object inheriting from class Spectra

value

a character string

Value

A vector

Author(s)

Pierre Roudier pierre.roudier@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Loading example data
data(oz)
spectra(oz) <- sr_no ~ ... ~ 350:2500

# Print wavelength information
wl(oz)
range(wl(oz))

# Manipulate wavelength information
wl(oz) <- wl(oz) + 1000
wl(oz)

pierreroudier/inspectr documentation built on May 25, 2019, 6:08 a.m.