trapm {qpNCA}R Documentation

Calculate Area Under the Moment Curve Using Trapezoids

Description

Calculates AUMC using the trapezoidal method. Assumes data represent a single profile. Despite choice of method, only linear interpolation is used for areas of intervals beginning or ending with y: 0.

Usage

trapm(x = NA, y = NA, method = 1)

Arguments

x

variable names of x coordinates

y

variable names of y coordinates

method

method:

  • 1: linear up - linear down

  • 2: linear up - logarithmic down

  • 3: linear before Tmax, logarithmic after Tmax

Value

area (length-one numeric)


[Package qpNCA version 1.1.6 Index]