Learn R Programming

specmine (version 1.0)

remove_x_values_by_interval: Remove x-values by interval

Description

Remove an interval of x-values from the dataset.

Usage

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

Arguments

dataset
list representing the dataset from a metabolomics experiment.
min.value
minimum value of the interval.
max.value
maximum value of the interval.

Value

Returns the dataset with the specified interval of x-values removed.

Examples

Run this code
  ## Example of removing x-values by interval
  data(cassavaPPD)
  cassavaPPD = remove_x_values_by_interval(cassavaPPD, 200, 300)

Run the code above in your browser using DataLab