powered by
convert data from the `ir` package to a structure that will work with `PlotFTIR`.
convertir les données du paquet `ir` en une structure qui fonctionnera avec `PlotFTIR`.
ir_to_plotftir(ir_data, what = NA)
a data.frame compatible with `PlotFTIR` functions
un data.frame compatible avec les fonctions `PlotFTIR`.
data of class `ir` from `ir` package
données de la classe `ir` du paquet `ir`.
which samples to convert to `PlotFTIR` format. Defaults to all available spectra.
les échantillons à convertir au format `PlotFTIR`. Par défaut, tous les spectres disponibles
[ir::ir_get_spectrum()] for information on how ir passes out data.
if (requireNamespace("ir", quietly = TRUE)) { # Convert samples 1 & 4 to PlotFTIR format ir_to_plotftir(ir::ir_sample_data, c(1, 4)) }
Run the code above in your browser using DataLab