i_meta: Internal metadata constructor for spectra

View source: R/spectra.R

i_metaR 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


spectrolab documentation built on Feb. 16, 2023, 10:27 p.m.