Skip to content

Add default PPANMETH for dose-aware aucint.*.dose parameters #539

Description

@Gero1999

Problem

The four dose-aware interval AUC parameters (aucint.last.dose, aucint.all.dose, aucint.inf.obs.dose, aucint.inf.pred.dose) are registered separately from their non-dose counterparts (aucint.last, aucint.all, aucint.inf.obs, aucint.inf.pred). The only difference is that the dose-aware variants pass time.dose = "time.dose.group" instead of NULL, truncating interpolation/extrapolation at the next dose time.

Having two separate sets of parameters creates ambiguity — especially for as.data.frame(out = "wide") when both variants share the same PPTESTCD — and neither set currently carries a default PPANMETH to distinguish them.

Proposal

  1. Unify the dose-aware and non-dose-aware aucint functions into a single set of parameters. Dose awareness should be the default behavior when dosing data is available, with a fallback to the current non-dose-aware calculation when dosing data is not provided.

  2. Add a default PPANMETH to indicate which method was applied (e.g. "Interpolation truncated at next dose time" vs. standard interpolation), so the distinction is surfaced in outputs and summaries.

References

  • Parameter registrations: R/aucint.R (lines ~254–355)
  • Underlying functions: pk.calc.aucint.last, pk.calc.aucint.all, pk.calc.aucint.inf.obs, pk.calc.aucint.inf.pred

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions