powered by
Gets the peak values from a data frame of samples' peaks.
get_peak_values(samples.df, peak.val)
data frame with the samples' peaks.
peak name.
Returns a vector with the peak values.
# NOT RUN { ## Example of getting the peak values library(specmine.datasets) data(propolis) peak.values = get_peak_values(propolis$data, 2.11) # }
Run the code above in your browser using DataLab