.-
help for ^auccalc^
.-

Calculates the area under a plasma concentration curve
---------------------------------------------------------

	^auccalc^ time concentration [^if^ exp] [^in^ range] [^,^ ^f^it^(^integer^)^
				 ^t^rapezoid ^line^ ^exp^ ^log^ ^g^raph graph options ]


Description
-----------

^auccalc^ calculates the area under a plasma concentration curve. The program
     alse calculates the Cmax, time of max. conc. , half life and
     elimination rate.

Options
-------

^fit(^#^)^ specifies the number of points from the end of the measured
     data to use to fit the model used to calculate the AUC from 0 to
     infinity. The default is to use the last 3 points.

^trapezoid^ specifies that the integral be computed using the simple trapezoidal
    rule -- i.e., the sum of (xvar[i] - xvar[i-1])*(yvar[i] + yvar[i-1])/2 --
    rather than using cubic splines (the default).  Cubic splines will give
    superior results for most smooth functions; for irregular functions,
    ^trapezoid^ may give better results.

^graph^ specifies to show the graph of the AUC. 
   If neither the line, exp, or log option is specified the AUC from
   0 to Tmax is plotted. Otherwise, the appropriate AUC from
   0 to infinity is plotted.

^line^, ^exp^, ^log^ specifies which fit to show for plotting the
   AUC from 0 to infinity.

Examples
--------

 . ^auccalc time conc^            (Show measures)
 . ^auccalc time conc, fit(7)^    (Use last 7 point to fit model)
 . ^auccalc time conc, t^         (Use trapazodial rule in calculating AUC)

