Skip to content

Add end_conc_drop imputation method#572

Open
Gero1999 wants to merge 3 commits into
humanpred:mainfrom
Gero1999:feat-impute_drop_end_point
Open

Add end_conc_drop imputation method#572
Gero1999 wants to merge 3 commits into
humanpred:mainfrom
Gero1999:feat-impute_drop_end_point

Conversation

@Gero1999

@Gero1999 Gero1999 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Adds PKNCA_impute_method_end_conc_drop(), which removes a concentration sitting exactly at time == end for an interval (no-op if none is present).

Because it works through the impute column, it's per-interval: drop the boundary point only on profiles where it belongs to the next dose (e.g. an imputed C0), while leaving genuine troughs untouched.

intervals <- data.frame(
  start  = c(0, 24), end = c(24, 48), tmax = TRUE,
  impute = c("end_conc_drop", NA)   # interval 1 only
)

@Gero1999 Gero1999 changed the title Feat impute drop end point Add end_conc_drop imputation method Jul 24, 2026
@Gero1999
Gero1999 marked this pull request as ready for review July 24, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant