Learn R Programming

specmine (version 3.1.6)

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
  library(specmine.datasets)
  data(propolis)
  subset = subset_x_values_by_interval(propolis, 1, 3)
# }

Run the code above in your browser using DataLab