Description Usage Arguments Value See Also Examples
Set or retrieve column names of a Spectra
object
1 2 3 4 5 6 7 8 9 | spc.colnames(x)
## S4 method for signature 'Spectra'
spc.colnames(x)
spc.colnames(x) <- value
## S4 replacement method for signature 'Spectra'
spc.colnames(x) <- value
|
x |
A |
value |
character vector containing new column names to be assigned |
spc.colnames() returns the column names of an object of class Spectra
as a character vector. spc.colnames()<- returns a Spectra
object.
1 2 3 4 5 | x <- spc.example_spectra()
head(spc.colnames(x))
# or
spc.colnames(x) <- spc.cname.construct(x)
spc.colnames(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.