print.mnirs: Methods for mnirs objects

View source: R/mnirs_methods.R

print.mnirsR Documentation

Methods for mnirs objects

Description

Generic methods for objects of class "mnirs".

Usage

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

Arguments

x

Object of class "mnirs".

...

Additional arguments passed to print().

Value

print

Returns x without class attributes.

Examples

x <- read_mnirs(
    example_mnirs("train.red"),
    nirs_channels = c(smo2 = "SmO2"),
    time_channel = c(time = "Timestamp (seconds passed)"),
    verbose = FALSE
) |>
    resample_mnirs(method = "linear", verbose = FALSE) |>
    extract_intervals(
        start = by_time(2452, 3168),
        span = c(-60, 120),
        verbose = FALSE
    )

print(x)


mnirs documentation built on May 15, 2026, 9:07 a.m.