It calculates the slope with linear regression of log(y) ~ x
Usage
Slope(x, y)
Value
R2
R-squared
R2ADJ
adjusted R-squared
LAMZNPT
number of points used for slope
LAMZ
negative of the slope, lambda_z
b0
intercept of the regression line
CORRXY
correlation of log(y) and x
LAMZLL
earliest x for lambda_z
LAMZUL
last x for lambda_z
Arguments
x
vector values of the independent variable, usually time
y
vector values of the dependent variable, usually concentration
Author
Kyun-Seop Bae <k@acr.kr>
Details
With time-concentration curve, you frequently need to estimate slope in log(concentration) ~ time.
This function is usually called by BestSlope function, and you seldom need to call this function directly.