Control options for non-compartmental analysis (NCA)
nca_control(
trapezoidal.rule = c("linear_up_log_down", "linear"),
duration = NULL,
nlastpoints = 3,
slope.method = "bestfitforce"
)A list with NCA control parameters.
Character. Method for trapezoidal AUC integration:
"linear" - Linear trapezoidal rule (default)
"linear_up_log_down" - Linear-up / log-down rule
Numeric. Optional. Duration of the observation window (same units as time). Used to restrict the integration or define the evaluation range.
Integer. Number of terminal points for half-life regression (default = 3).
Character. Method for estimating the terminal slope (lambdaz). Options are:
"bestfit": Performs automated terminal phase selection based on adjusted R-squared. If no acceptable segment is found, lambdaz is returned as NA.
"bestfitforce": First attempts the "bestfit" method. If no valid lambdaz is obtained, the function applies a fallback log-linear regression using progressively fewer terminal points to force estimation. This is the default.
Zhonghui Huang