pivot_longer.ftirs: Pivot a wide, non-tidy FTIRS dataframe to a long, tidy...

View source: R/ftirs.R

pivot_longer.ftirsR Documentation

Pivot a wide, non-tidy FTIRS dataframe to a long, tidy format.

Description

Pivot a wide, non-tidy FTIRS dataframe to a long, tidy format.

Usage

## S3 method for class 'ftirs'
pivot_longer(ftirs_data_wide, wet_chem, ...)

Arguments

ftirs_data_wide

A wide, non-tidy FTIRS dataframe. Columns = wavenumber, rows = sample_id, and values = absorbance.

wet_chem

A logical value (TRUE or FALSE) indicating presence of Wet Chemistry Data in the wide FTIRS dataframe.

...

Other arguments passed on to methods. Not currently used.


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