Description Usage Arguments Value Examples
Gets the peak values from a data frame of samples' peaks.
1 | get_peak_values(samples.df, peak.val)
|
samples.df |
data frame with the samples' peaks. |
peak.val |
peak name. |
Returns a vector with the peak values.
1 2 3 4 | ## Example of getting the peak values
library(specmine.datasets)
data(propolis)
peak.values = get_peak_values(propolis$data, 2.11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.