build_NIRdataset: Build NIR dataset based on a parameters file.

View source: R/build.R

build_NIRdatasetR Documentation

Build NIR dataset based on a parameters file.

Description

Build NIR dataset based on a parameters file.

Usage

build_NIRdataset(dframe, params_file_path, save_RDS = FALSE, save_txt = FALSE)

Arguments

dframe

A dataframe in long format, that is, each NIR variable must be stored in its own column, and other columns containing identifications for individuals, and leaf surface, at least.

params_file_path

A path for a NIR parameter file.

save_RDS

If you want to save a .RDS file with final result, just use TRUE instead. Default value is FALSE.

save_txt

If you want to save a text delimited file with final result, just use TRUE instead. Default value is FALSE.

Value

A dataframe.


ricoperdiz/NIRtools documentation built on Oct. 24, 2023, 1:30 a.m.