Description Usage Arguments Value Examples
Get the x-axis values from the dataset as numbers.
1 | get_x_values_as_num(dataset)
|
dataset |
list representing the dataset from a metabolomics experiment. |
Returns a numeric vector with the x-axis values, if the variable labels are not all numeric then an error message is shown.
1 2 3 4 | ## Example of getting the x-axis values as numbers
library(specmine.datasets)
data(propolis)
xvalues.numeric = get_x_values_as_num(propolis)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.