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

nothing. operation not allowed

Author(s)

Jose Eduardo Meireles

Examples

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))

annakat/spectrolab documentation built on Oct. 14, 2023, 1:16 a.m.