Learn R Programming

MethodOpt (version 1.0.0)

area: Computes areas of peaks

Description

Computes the areas beneath the specified maxima.

Usage

area(data, hts, tms)

Value

area for each peak

Arguments

data

dataframe of time versus intensity.

hts

heights of peaks in chronological order.

tms

time locations of peaks in chronological order.