sNCA and tblNCA support predetermined indices of points (UsePoints) to calculate terminal slope.
tblNCA supports vector input for dur argument.
Fixed a bug in Slope where sequential is.finite filtering could cause misaligned x and y vectors.
Fixed typo 'umul/mL' to 'umol/mL' in concentration unit normalization (Unit, UnitUrine).
Replaced unsafe eval(parse(text=...)) with direct logical subsetting in tblNCA and tblAUC.
Extracted duplicated slope-finding logic in BestSlope into helper function findBestSlope.
Normalized adm parameter once at the top of sNCA instead of calling toupper(trimws()) repeatedly.
Extracted shared unit conversion helpers (normalizeConcUnit, convertVolUnit) in Unit.R.
Reduced redundant toupper(trimws(down)) calls in AUC and IntAUC.
Minor updates.
SS option for steady-state added in sNCA and tblNCA
tblAUC, gAUC, gInterpol functions are added for general purpose AUC such as AUC for pharmacodynamic(PD) data.
Rare cases raising NaN in BestSlope are handled.
DetSlope no longer opens a new device when closed.
Data type error with tibble data is fixed.
Bug when a slope is determined by manual selection is fixed.
excludeDelta option added to tblNCA, sNCA, and BestSlope functions.
UT function removed
returnNA option in sNCA function is removed.
When it is impossible to determine slope, it skips.
tblNCA supports iAUC argument.
Some sentences are revised.
Nonnumeric Subject ID is supported.
tblNCA is rewritten.
Issue on reverse dependence on ncar is solved.
Validation document is added.
DetSlope now accepts default slope from BestSlope.
Errata in manual corrected.
DetSlope function is added to determine slope manually.
NonCompart is more tolerable to the input error.
sNCA can accept key of multiple columns instead of single column colSubj.
NonCompart can handle the case of no or one positive y value.
NonCompart A bug in C0 calcuation of IV bolus case was fixed.
NonCompart Only essential functions for calculation were remained.