Calculation of R2 and R2ADJ for slope of profile

This function calculates the R2 (R-squared) and R2ADJ (R2-squared adjusted) metrics for the slope fitting. User provided indices for PK samples to be considered will be used if provided. If not provided, the bestSlope algorithm will be used. The result is presented in a graphical manner.

slopetest_IQnca(
data,
USUBJID,
PROFILE = NULL,
IXslope = NULL,
logY = TRUE,
R2ADJTHRESHOL = 0.85
)

Arguments

data IQdataNCA object Unique subject ID of subject to do the slope calculation for Name of the profile. Only needs to be provided when USUBJID appears in more than one profile in the data Vector with manually selected numeric IX values in the data to use for slope calculation or set to NULL the bestSlope algorithm will be used Log y axis is TRUE, otherwise linear Y axis Threshold for R2ADJ to switch color and annotation

Details

The bestslope algorithm considers points from CMAX/TMAX until the last >0 point. For extravascular one point later is used as start point. For INFUSION when >= 5 samples available also one point later is started. The algorithm simply determines metrics from all points to the last point with minimally 3 points in the calculation. The resulting best slope is selected as the solution with the maximum number of used concentration points for slope calculation for which the R2ADJ is not smaller than SLOPETOL (in the data) as compared to the maximum R2ADJ.

See also

Other NCA Slope: slope_IQdataNCA(), slope_manual_NCA()