R/LinAUC.R

Defines functions LinAUC

Documented in LinAUC

LinAUC = function(x, y) # down="Linear"
{
# Author: Kyun-Seop Bae k@acr.kr
# AUC and AUMC of one segment by the linear trapezoidal rule.
# Delegates to NonCompart::LinAUC for a single maintained engine.
# INPUT
#    x: time
#    y: concentration
# RETURNS
#    named vector: AUC, AUMC
  return(NonCompart::LinAUC(x, y))
}

Try the pkr package in your browser

Any scripts or data that you put into this service are public.

pkr documentation built on July 30, 2026, 5:08 p.m.