i_names: Internal constructor for sample names

View source: R/spectra.R

i_namesR Documentation

Internal constructor for sample names

Description

i_names constructs a sample name vector in the appropriate format

Usage

i_names(x, nsample = NULL)

Arguments

x

vector of labels. Should be character.

nsample

Integer of expected number of samples. If NULL (default) checking is skipped.

Value

vector of sample names coerced to character

Author(s)

Jose Eduardo Meireles


spectrolab documentation built on April 3, 2025, 9:33 p.m.