R/Slope.R

Defines functions Slope

Documented in Slope

Slope = function(x, y)
{
# Author: Kyun-Seop Bae k@acr.kr
# Simple linear regression used for terminal-slope estimation.
# Delegates to NonCompart::Slope for a single maintained engine.
# INPUT
#    x: time
#    y: natural log of concentration
# RETURNS
#    named vector: R2, R2ADJ, LAMZNPT, LAMZ, b0, CORRXY, LAMZLL, LAMZUL, CLSTP
  return(NonCompart::Slope(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.