Learn R Programming

specmine (version 2.0.3)

subset_x_values_by_interval: Subset x-values by interval

Description

Gets a subset of a specific interval of x-values.

Usage

subset_x_values_by_interval(dataset, min.value, max.value)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

min.value

the minimum value of the interval.

max.value

the maximum value of the interval.

Value

Returns the dataset with the selected interval of x-values.

Examples

Run this code
# NOT RUN {
  ## Example of subsetting x-values by an interval
  data(cassavaPPD)
  subset = subset_x_values_by_interval(cassavaPPD, 200, 800)
# }

Run the code above in your browser using DataLab