find_header_row: Find the header row containing all 'nirs_channels'

View source: R/read_mnirs_helpers.R

find_header_rowR Documentation

Find the header row containing all nirs_channels

Description

Find the header row containing all nirs_channels

Usage

find_header_row(raw, nirs_channels, start = 1L, env = rlang::caller_env())

Arguments

raw

A raw character data frame from read_file().

nirs_channels

Character vector of original column names.

start

Integer row index to try first, from detect_mnirs_device().

env

The calling environment or a defused call, used to report errors and warnings as coming from the user-facing function rather than the validator.


mnirs documentation built on Sept. 13, 2026, 1:06 a.m.