ir_to_plotftir | R Documentation |
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)
ir_data |
data of class 'ir' from 'ir' package données de la classe 'ir' du paquet 'ir'. |
what |
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 |
a data.frame compatible with 'PlotFTIR' functions
un data.frame compatible avec les fonctions 'PlotFTIR'.
[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))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.