meta<- | R Documentation |
meta
sets metadata
meta(x, label, sample) <- value
x |
spectra object (lhs) |
label |
metadata column label |
sample |
sample name |
value |
rhs. TODO |
nothing. called for its side effect
Jose Eduardo Meireles
library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) meta(spec, "random") = rnorm(nrow(spec), mean(10), sd = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.