D2_spectrum | R Documentation |
Calculate values by means of a nth degree polynomial from user-supplied constants (for example from a lamp calibration certificate).
D2_spectrum(w.length, k = photobiology::D2.UV653, fill = NA_real_)
w.length |
numeric vector of wavelengths (nm) for output |
k |
a polynom:polynomial object with n constants for the polynomial |
fill |
if NA, no extrapolation is done, and NA is returned for wavelengths outside the range 190 nm to 450 nm. If NULL then the tails are deleted. If 0 then the tails are set to zero, etc. NA is default. |
a dataframe with four numeric vectors with wavelength values (w.length), energy and photon irradiance (s.e.irrad, s.q.irrad) depending on the argument passed to unit.out (s.irrad).
This is function is valid for wavelengths in the range 180 nm to 495 nm, for wavelengths outside this range NAs are returned.
D2_spectrum(200)
D2_spectrum(170:220)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.