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.
slopeTest_IQRnca(data, USUBJID, slopePoints = NULL, TOL = 1e-04)
Unique subject ID of subject to do the calculation for
Vector with indices of individuals samples to consider. If undefined or set to NULL the bestSlope algorithm will be used
Tolerance for bestSlpe algorithm