Return a copy of an R object with its class set to a given type of spectrum.
as.filter_mspct(x, ...)# S3 method for default
as.filter_mspct(x, ...)
# S3 method for data.frame
as.filter_mspct(x, Tfr.type = c("total", "internal"), strict.range = TRUE, ...)
# S3 method for filter_spct
as.filter_mspct(x, ...)
# S3 method for list
as.filter_mspct(
x,
Tfr.type = c("total", "internal"),
strict.range = TRUE,
...,
ncol = 1,
byrow = FALSE
)
# S3 method for matrix
as.filter_mspct(
x,
w.length,
spct.data.var = "Tfr",
multiplier = 1,
byrow = NULL,
spct.names = "spct_",
...
)
A copy of x
converted into a filter_mspct
object.
a list of spectral objects or a list of objects such as data frames that can be converted into spectral objects.
passed to individual spectrum object constructor
a character string, either "total" or "internal"
logical Flag indicating how off-range values are handled
integer Number of 'virtual' columns in data
logical If ncol > 1
how to read in the data
numeric A vector of wavelengthvalues sorted in strictly ascending order (nm).
character The name of the variable that will contain the spectral data. This indicates what physical quantity is stored in the matrix and the units of expression used.
numeric A multiplier to be applied to the values in
x
to do unit or scale conversion.
character Vector of names to be assigned to collection members, either of length 1, or with length equal to the number of spectra.
as.filter_mspct(default)
:
as.filter_mspct(data.frame)
:
as.filter_mspct(filter_spct)
:
as.filter_mspct(list)
:
as.filter_mspct(matrix)
:
Other Coercion methods for collections of spectra:
as.calibration_mspct()
,
as.chroma_mspct()
,
as.cps_mspct()
,
as.generic_mspct()
,
as.object_mspct()
,
as.raw_mspct()
,
as.reflector_mspct()
,
as.response_mspct()
,
as.solute_mspct()
,
as.source_mspct()
,
split2mspct()
,
subset2mspct()