Learn R Programming

ir (version 0.4.1)

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

Value

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

Arguments

x

An object of class ir.

Examples

Run this code
ir_identify_empty_spectra(ir::ir_sample_data)

Run the code above in your browser using DataLab