trap {qpNCA} | R Documentation |
Calculates AUC 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.
trap(x = NA, y = NA, method = 1)
x |
x variable, i.e. time |
y |
y variable, i.e. concentration |
method |
method:
|
area (length-one numeric)