i_meta {spectrolab}R Documentation

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

Value

data.frame

Author(s)

Jose Eduardo Meireles


[Package spectrolab version 0.0.19 Index]