ir_identify_empty_spectra: Identifies empty spectra in an 'ir' object

View source: R/ir.R

ir_identify_empty_spectraR Documentation

Identifies empty spectra in an ir object

Description

ir_identify_empty_spectra() identifies empty spectra in an object of class ir. An empty spectrum is a spectrum which has no data values (no rows) or where all intensity values (column y) are NA.

Usage

ir_identify_empty_spectra(x)

Arguments

x

An object of class ir.

Value

A logical vector indicating for each spectrum in x whether it is empty (TRUE) or not (FALSE).

Examples

ir_identify_empty_spectra(ir::ir_sample_data)


henningte/ir documentation built on July 4, 2025, 5:12 p.m.