read_ftirs: Generate a tidy data frame binding multiple FTIRS samples...

View source: R/ftirs.R

read_ftirsR Documentation

Generate a tidy data frame binding multiple FTIRS samples together

Description

Generate a tidy data frame binding multiple FTIRS samples together

Usage

read_ftirs(dir_path, wet_chem_path = NULL, format = "long", ...)

Arguments

dir_path

Filepath to the folder that contains the csv files with FTIRS samples. Each file should be formatted such that there are three columns; index, wavenumber (numeric), and absorbance (numeric).

wet_chem_path

An optional filepath to singular Wet Chemistry Data file to be included in the FTIRS dataframe.

format

The desired format of the FTIRS dataframe; long (default) or wide.

...

Other arguments passed on to map_dfr()

See Also

read_ftirs_files for file specifications.


sds270-s22/ftirsr documentation built on June 24, 2022, 12:56 p.m.