Returns the Bayesian population prior predictions at short intervals specified during the NPAG run, up to 12 minutes.
Arguments
- run
The number of the folder that contains the relevant run. If missing,
NPdata
will be used.- NPdata
Optional name of NPdata object if run is missing.
Value
A dataframe of class PMpop with columns:
- id
Subject id
- time
Time of predictions in decimal hours
- icen
Prediction based on mean or median of Bayesian posterior parameter distribution
- pred
Predicted output for each outeq
- outeq
Output equation number
- block
Observation blocks within subjects as defined by EVID=4 dosing events
Details
Predictions are calculated using the median (default) or mean of the Bayesian prior parameter values and each subject's dosing, sampling, and covariate (if relevant) information.
Examples
library(PmetricsData)
pop <- makePop(NPdata = NPex$NPdata)