Learn R Programming

metaboGSE (version 1.2.5)

maxArea: Compute maxium area between curves

Description

This function computes the maximum area between multiple curves.

Usage

maxArea(y, x = NULL)

Arguments

y

A numeric matrix for all curves with each curve per column.

x

A vector of increasing x-coordinates. Default, an equidistant vector of length nrow(y) from 0 to 1.

Value

The maximum area