Applies BLQ (Below Limit of Quantification) imputation rules to a statistic based on the proportion of BLQ observations and dosing timing.
imputation_rules(stat_val, label, blq_ratio, postdose, rule = "1/3")(character(1))
formatted statistic value.
(character(1))
label identifying the statistic type (e.g. "Median", "Max").
(numeric(1))
proportion of BLQ observations (between 0 and 1).
(logical(1))
whether the timepoint is post-dose.
(character(1))
imputation rule to apply. One of "1/3" (default) or "1/2".
A character string: the original stat_val, "ND" (not determined),
or "NE" (not estimable).
imputation_rules("1.23", "Mean", blq_ratio = 0.5, postdose = TRUE, rule = "1/3")
#> [1] "ND"