View source: R/getters_and_setters.R
names.spectra | R Documentation |
names
returns a vector of sample names
## S3 method for class 'spectra' names(x)
x |
spectra object |
vector of sample names
Jose Eduardo Meireles
library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) names(spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.