t.spectra: Spectra Transpose

View source: R/math_operator_overloads.R

t.spectraR Documentation

Spectra Transpose

Description

spectra are not transposable. Transpose the value instead

Usage

## S3 method for class 'spectra'
t(x)

Arguments

x

spectra

Value

No return value. Operation not allowed

Author(s)

Jose Eduardo Meireles

Examples

library(spectrolab)
s = as_spectra(spec_matrix_example, name_idx = 1)

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

spectrolab documentation built on April 3, 2025, 9:33 p.m.