View source: R/hyAdd_Label_wl.R
hyAdd_Label_wl | R Documentation |
hyperSpec
object[!] Add a standardised label for x-axis in hyperSpec
object
hyAdd_Label_wl(sp, modeX = NULL, label = NULL)
label_wl(modeX = NULL, label = NULL)
sp |
|
modeX |
Mode of x axis. A string, that indicates either "Fluorescence", "wavelength", "Raman" or "IR". |
label |
A manually eneterd text or expression of the label. |
Object with added label.
Vilmantas Gegzna
Other spHelper functions for spectroscopy and hyperSpec:
IQR_outliers()
,
binning()
,
file
,
gapDer()
,
hy2mat()
,
hyAdd_Labels_PAP_PD_2014()
,
hyAdd_Labels_TD2009()
,
hyAdd()
,
hyDrop_NA()
,
hyGet_palette()
,
hyRm_palette()
,
mad_outliers()
,
mean_Nsd()
,
median_Nmad()
,
plot_hyPalette()
,
prepare_PAP_RK_2014__MATLAB_failui()
,
read.OOIBase32()
,
read.OceanView.header()
,
read.OceanView()
,
read.sp.csv2()
,
read3csv2hy()
,
replace_spc()
,
sd_outliers()
,
spStat()
,
sp_class_perform()
Sp2 <- hyAdd_Label_wl(Spectra2, "IR")
labels(Spectra2, ".wavelength")
#> expression(lambda/nm)
labels(Sp2, ".wavelength")
#> expression(list(Delta * tilde(nu), cm^-1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.