View source: R/zmspct.classes.R
| as.chroma_mspct | R Documentation |
Return a copy of an R object with its class set to a given type of spectrum.
as.chroma_mspct(x, ...)
## Default S3 method:
as.chroma_mspct(x, ...)
## S3 method for class 'data.frame'
as.chroma_mspct(x, ...)
## S3 method for class 'chroma_spct'
as.chroma_mspct(x, ...)
## S3 method for class 'list'
as.chroma_mspct(x, ..., 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 |
ncol |
integer Number of 'virtual' columns in data |
byrow |
logical If |
A copy of x converted into a chroma_mspct object.
as.chroma_mspct(default):
as.chroma_mspct(data.frame):
as.chroma_mspct(chroma_spct):
as.chroma_mspct(list):
Other Coercion methods for collections of spectra:
as.calibration_mspct(),
as.cps_mspct(),
as.filter_mspct(),
as.generic_mspct(),
as.object_mspct(),
as.raw_mspct(),
as.reflector_mspct(),
as.response_mspct(),
as.solute_mspct(),
as.source_mspct(),
split2mspct(),
subset2mspct()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.