# NOT RUN {
library(spectrolab)
s = as_spectra(spec_matrix_example, name_idx = 1)
# This will throw an error
# }
# NOT RUN {
t(s)
# }
# NOT RUN {
# But these options should work
t(value(s))
t(as.matrix(s))
# }
Run the code above in your browser using DataLab