Learn R Programming

specmine (version 1.0)

first_derivative: First derivative

Description

Calculates the first derivative of the data.

Usage

first_derivative(dataset)

Arguments

dataset
list representing the dataset from a metabolomics experiment.

Value

Return the dataset with the first derivative of the data calculated.

Examples

Run this code
  ## Example of calculate the first derivative
  data(cassavaPPD)
  cassava.derivative = first_derivative(cassavaPPD)

Run the code above in your browser using DataLab