siWl | R Documentation |
Generate a dataset with a single wavelength.
siWl(dataset, wl, getMax = FALSE)
dataset |
An object of class 'aquap_data' as produced e.g. by
|
wl |
Numeric length one. The |
getMax |
Logical. Set to 'TRUE' to isolate the wavelength with the highest sum of absorbtion values. |
Provide the wavelength that should remain in the dataset in the
argument wl
. It is not ncecessary to exactly know the desired
wavelength – if there is no direct match with the wavelength, the next best
hit will be taken.
aquap_data-methods
, selectWls
Other Extract Elements:
getHeader()
,
getWavelengths,aquap_data-method
,
getcd()
,
getcm()
,
siWlg()
## Not run:
fd <- gfd()
dataset_single <- siWl(fd, 1300) # to only leave wavelength 1300
dataset_single2 <- siWl(fd, getMax=TRUE) # to look for the wavelength with
# highest sum of absorbtion values
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.