Return a copy of an R object with its class set to a given type of spectrum.
Arguments
- x
an R object.
- ...
Arguments passed on to
setObjectSpctmultiple.wlnumeric Maximum number of repeated
w.lengthentries with same value.idfactorcharacter Name of factor distinguishing multiple spectra when stored longitudinally (required if
mulitple.wl> 1).strict.rangelogical Flag indicating whether off-range values result in an error instead of a warning.
- Tfr.type
character Either "total" or "internal".
- Rfr.type
character A string, either "total" or "specular".
See also
Other constructors of spectral objects:
as.calibration_spct(),
as.chroma_spct(),
as.cps_spct(),
as.filter_spct(),
as.generic_spct(),
as.raw_spct(),
as.reflector_spct(),
as.response_spct(),
as.solute_spct(),
as.source_spct(),
source_spct()
