i_value
constructs value matrix in the appropriate format
i_value(x, nbands = NULL, nsample = NULL)
data conformable to relative value: numeric matrix
numeric matrix, dataframe or vector (in case of single spectrum)
Integer of expected number of bands. If NULL (default) checking is skipped.
Integer of expected number of samples. If NULL (default) checking is skipped.
Jose Eduardo Meireles
Coerces input form different formats into data conformable to value, which is a numeric matrix with no dimension names.