i_meta: Internal metadata constructor for spectra
Description
i_meta
constructs a metadata data.frame in the appropriate format
Usage
i_meta(x, nsample, allow_null = TRUE, ...)
Arguments
- x
data.frame
- nsample
number of samples in spectra
- allow_null
boolean. If TRUE (default) and x is NULL, the function will
return NULL regardless of nsample
- ...
additional arguments passed to as.data.frame
Author
Jose Eduardo Meireles