dot-findNA: Find NA in a Spectra2D Object

.findNAR Documentation

Find NA in a Spectra2D Object

Description

Internal function. This function identifies the extent of any NA in a ChemoSpec2D::Spectra2D() object. This information can be used for summaries and plots.

Usage

.findNA(spectra, retFreq = FALSE)

Arguments

spectra

An object of S3 class ChemoSpec2D::Spectra2D().

retFreq

Logical. Should the frequencies be returned?

Value

A list with two elements giving the indices of NAs for rows and columns, unless retFreq = TRUE, in which case the frequencies are returned.

Author(s)

Bryan A. Hanson (DePauw University).


ChemoSpecUtils documentation built on May 29, 2024, 3:12 a.m.