Description Usage Arguments Value Methods (by class) See Also
View source: R/zmspct.classes.R
Return a copy of an R object with its class set to a given type of spectrum.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | as.object_mspct(x, ...)
## Default S3 method:
as.object_mspct(x, ...)
## S3 method for class 'data.frame'
as.object_mspct(
x,
Tfr.type = c("total", "internal"),
Rfr.type = c("total", "specular"),
strict.range = TRUE,
...
)
## S3 method for class 'object_spct'
as.object_mspct(x, ...)
## S3 method for class 'list'
as.object_mspct(
x,
Tfr.type = c("total", "internal"),
Rfr.type = c("total", "specular"),
strict.range = TRUE,
...,
ncol = 1,
byrow = FALSE
)
|
x |
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 |
Tfr.type |
a character string, either "total" or "internal" |
Rfr.type |
a character string, either "total" or "specular" |
strict.range |
logical Flag indicating how off-range values are handled |
ncol |
integer Number of 'virtual' columns in data |
byrow |
logical If |
A copy of x
converted into a object_mspct
object.
default
:
data.frame
:
object_spct
:
list
:
Other Coercion methods for collections of spectra:
as.calibration_mspct()
,
as.chroma_mspct()
,
as.cps_mspct()
,
as.filter_mspct()
,
as.generic_mspct()
,
as.raw_mspct()
,
as.reflector_mspct()
,
as.response_mspct()
,
as.source_mspct()
,
split2mspct()
,
subset2mspct()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.