Learn R Programming

specmine (version 2.0.3)

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
# NOT RUN {
  ## Example of calculate the first derivative
  data(cassavaPPD)
  cassava.derivative = first_derivative(cassavaPPD)
# }

Run the code above in your browser using DataLab