f.plot.spec: f.plot.spec

View source: R/f.plot.spec.R

f.plot.specR Documentation

f.plot.spec

Description

f.plot.spec

Usage

f.plot.spec(
  Z,
  wv,
  xlim = NULL,
  position = "topright",
  type = "Reflectance",
  plot_label = NULL
)

Arguments

Z

Spectra matrix with each row corresponding to a spectra and wavelength in columns

wv

vector of wavelengths corresponding to the column of the spectra matrix Z

xlim

vector to change the default xlim of the plots (ex xlim = c(500, 2400))

position

Position of the legend (see base function legend for help)

type

Name of the y axis and of the legend. E.g. Reflectance, Transmittance

plot_label

optional plot label to include with the figure

Author(s)

Julien Lamour, Shawn P. Serbin


TESTgroup-BNL/PLSR_for_plant_trait_prediction documentation built on Feb. 15, 2025, 2:08 p.m.