Learn R Programming

spectrolab (version 0.0.19)

t.spectra: Spectra Transpose

Description

spectra are not transposable. Transpose the value instead

Usage

# S3 method for spectra
t(x)

Value

No return value. Operation not allowed

Arguments

x

spectra

Author

Jose Eduardo Meireles

Examples

Run this code
library(spectrolab)
s = as_spectra(spec_matrix_example, name_idx = 1)

t(value(s))
t(as.matrix(s))

Run the code above in your browser using DataLab