View source: R/math_operator_overloads.R
t.spectra | R Documentation |
spectra are not transposable. Transpose the value instead
## S3 method for class 'spectra'
t(x)
x |
spectra |
nothing. operation not allowed
Jose Eduardo Meireles
library(spectrolab)
s = as_spectra(spec_matrix_example, name_idx = 1)
# This will throw an error
## Not run:
t(s)
## End(Not run)
# But these options should work
t(value(s))
t(as.matrix(s))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.