subset_x_values_by_interval: Subset x-values by interval

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
4
  ## Example of subsetting x-values by an interval
  library(specmine.datasets)
  data(propolis)
  subset = subset_x_values_by_interval(propolis, 1, 3)

specmine documentation built on Sept. 21, 2021, 5:06 p.m.