ir_average | R Documentation |
ir_average
averages infrared spectra within a user-defined group. NA
values are omitted by default.
ir_average(x, ..., na.rm = TRUE, .groups = "drop")
An object of class ir
where spectra have been averaged within
groups defined by ...
.
# average the sample data spectra across sample types
x <-
ir_sample_data |>
ir_average(sample_type)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.