Plot individual deviation of NCA metrics estimated from observed and simulated data
Source:R/nca.deviation.plot.R
nca.deviation.plot.Rd
nca.deviation.plot plots individual deviation of selected NCA metrics estimated from observed and simulated data.
Usage
nca.deviation.plot(
plotdata,
xvar = NULL,
devcol = NULL,
figlbl = NULL,
spread = "npi",
cunit = NULL,
tunit = NULL
)
Arguments
- plotdata
A data frame containing the scaled deviation values of the NCA metrics
- xvar
x-variable against which the deviation data will be plotted (NULL)
- devcol
column names/numbers of the data frame containing deviation data (NULL)
- figlbl
Figure label based on dose identifier and/or population stratifier (NULL)
- spread
Measure of the spread of simulated data (ppi (95% parametric prediction interval) or npi (95% nonparametric prediction interval)) ("npi")
- cunit
Unit for concentration (default is
NULL
)- tunit
Unit for time (default is
NULL
)
Details
nca.deviation.plot plots individual deviation of selected NCA metrics estimated from observed and simulated data. This function requires three mandatory arguments, (i) deviation data, (ii) independent variable and (iii) dependent variables. The deviation of the NCA metrics values estimated from the observed and simulated data are scaled by the "spread" of the simulated metrics values. The "speed" of the simulated data is measured either by the standard deviation or the 95