i_value: Internal constructor for value matrix

View source: R/spectra.R

i_valueR Documentation

Internal constructor for value matrix

Description

i_value constructs value matrix in the appropriate format

Usage

i_value(x, nbands = NULL, nsample = NULL)

Arguments

x

numeric matrix, dataframe or vector (in case of single spectrum)

nbands

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

nsample

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

Details

Coerces input form different formats into data conformable to value, which is a numeric matrix with no dimension names.

Value

data conformable to relative value: numeric matrix

Author(s)

Jose Eduardo Meireles


annakat/spectrolab documentation built on Oct. 14, 2023, 1:16 a.m.