powered by
Returns the indexes corresponding to a vector of x-values (only to numerical values - spectra)
x_values_to_indexes(dataset, x.values)
list representing the dataset from a metabolomics experiment.
vector of x-values.
Returns a numeric vector with the indexes of the x-values.
# NOT RUN { ## Example of getting the indexes of the x-values library(specmine.datasets) data(propolis) indexes = x_values_to_indexes(propolis, c(1.3, 3.51, 6.03)) # }
Run the code above in your browser using DataLab