Details
Contains the results of makeOP, which is a
data frame suitable for analysis and plotting of observed vs. population or
or individual predicted outputs. To provide a more traditional experience in R,
the data frame is separated by columns into fields, e.g. id or time. This
allows you to access them in an S3 way, e.g. run1$op$time if run1 is a
PM_result object.
However, if you wish to manipulate the entire data frame,
use the data field, e.g. trough <- run1$op$data %>% filter(time == 24). If
you are unfamiliar with the %>% pipe function, please type help("%>%", "magrittr")
into the R console and look online for instructions/tutorials in tidyverse, a
powerful approach to data manipulation upon which Pmetrics is built.
Public fields
idsubject identification
timeobservation time in relative units, usually hours
obsobservation
predprediction
pred.typePopulation predictions based on Bayesian prior parameter value distribution, or individual predictions based on Bayesian posterior parameter value distributions
icenPredictions based on mean or median of Bayesian
pred.typeparameter valuesouteqoutput equation number
blockdosing block number for each subject, as defined by dose resets (evid=4).
obsSDstandard deviation of the observation based on the assay error polynomial
dprediction error,
pred-obsdssquared prediction error
wdweighted prediction error, which is the prediction error divided by the
obsSDwdsweighted squared prediction error
dataA data frame combining all the above fields as its columns
Methods
Method new()
Create new object populated with observed vs. predicted data
Usage
PM_op$new(op)Arguments
opThe parsed output from makeOP.
Method summary()
Summary method
Arguments
...Arguments passed to summary.PMop
Details
See summary.PMop.
Method auc()
Calculate AUC
Arguments
...Arguments passed to makeAUC
dataThe object to use for AUC calculation
Details
See makeAUC
