powered by
spectra are not transposable. Transpose the value instead
# S3 method for spectra t(x)
nothing. operation not allowed
spectra
Jose Eduardo Meireles
library(spectrolab) s = as_spectra(spec_matrix_example, name_idx = 1) # This will throw an error if (FALSE) { t(s) } # But these options should work t(value(s)) t(as.matrix(s))
Run the code above in your browser using DataLab