calc_area: Calculate the areas of each peak

Description Usage Arguments Value

Description

Calculate the analytical area of each peak based on the peak_type.

Usage

1
2
3
4
calc_area(object, type = "analytical", ...)

## S4 method for signature 'NMRScaffold1D'
calc_area(object, type = "analytical")

Arguments

object

An NMRScaffold1D or NMRScaffold2D object.

type

One of either 'analytical' or 'numerical'. Analytical calculation is the default, but numerical calculation using integrate() is left for debugging purposes.

...

Additional arguments passed to inheriting methods.

Value

A data.frame with three columns – id, peak, and area.


ssokolen/rnmrfit documentation built on May 23, 2019, 1:48 p.m.