Skip to contents

S3 Methods for printing metabodecon objects as described in the Metabodecon Classes.

Usage

# S3 method for class 'spectrum'
print(x, name = FALSE, ...)

# S3 method for class 'ispec'
print(x, name = FALSE, ...)

# S3 method for class 'idecon'
print(x, name = FALSE, ...)

# S3 method for class 'decon1'
print(x, name = FALSE, ...)

# S3 method for class 'decon2'
print(x, name = FALSE, ...)

# S3 method for class 'align'
print(x, name = FALSE, ...)

# S3 method for class 'spectra'
print(x, ...)

# S3 method for class 'ispecs'
print(x, ...)

# S3 method for class 'idecons'
print(x, ...)

# S3 method for class 'decons1'
print(x, ...)

# S3 method for class 'decons2'
print(x, ...)

# S3 method for class 'aligns'
print(x, ...)

Arguments

x

The object to print.

name

Logical. If TRUE, the name of the object is printed before the object.

...

Not used. Only accepted to comply with generic base::print().

Value

NULL, called for side effect of printing to the standard output device.

Examples

si <- c(1, 1, 3, 7, 8, 3, 8, 5, 2, 1)
cs_max <- 14.8
cs_width <- 20.0
fq_ref <- 600.25 * 1e6
fq_width <- 12005
spectrum <- read_spectrum()
print(spectrum)
#> spectrum object (2048 dp, 3.6 to 3.3 ppm)