View source: R/get_pooled_data.R
| get_pooled_data | R Documentation |
Processes pharmacokinetic data and produces pooled datasets according to the dosing context. Data can be grouped based on first dose, repeated dosing, or a combination of both, with control over binning and time alignment.
get_pooled_data(
dat,
dose_type = c("first_dose", "repeated_doses", "combined_doses"),
pooled_ctrl = pooled_control()
)
dat |
A data frame containing raw time–concentration data in the standard nlmixr2 format. |
dose_type |
Specifies the dosing context of the pharmacokinetic observations. Classified as:
|
pooled_ctrl |
A list of control parameters created by 'pooled_control', including settings for binning and time rounding. |
For repeated-doses and combined-doses classifications, the most common interdose interval is identified from dosing records and used to determine whether observations fall within the relevant interval. If tad_rounding is TRUE, both time after dose and dosing interval are rounded before comparison.
A list containing pooled pharmacokinetic datasets depending on the specified dose type:
datpooled_fd: pooled data for first-dose observations
datpooled_efd: pooled data for repeated dosing
datpooled_all: pooled data combining first-dose and repeated-dose observations
Zhonghui Huang
pooled_control, trimmed_geom_mean
dat <- processData(Bolus_1CPT)$dat
get_pooled_data(dat, dose_type = "combined_doses")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.