| npc.coverage(xpose4generic) | R Documentation |
This function takes the output from the npc command in Perl
Speaks NONMEM (PsN) and makes a coverage plot. A coverage plot for
the NPC looks at different prediction intervals (PIs) for each data
point and calculates the total number of data points in the data set
lying outside of these
PIs. The plot shows the relative amount of data points outside of
their PI compared to the expected amount at that PI. In addition a
confidence interval around these values are computed based on the
simulated data.
npc.coverage(npc.info="npc_results.csv",
main = "Default",
max.plots.per.page=4,
...)
npc.info |
The results file from the npc command in
PsN. for example ‘npc_results.csv’, or if the file is in a
separate directory ‘./npc_dir1/npc_results.csv’. |
main |
A string giving the plot title or NULL if
none. "Default" creates a default title. |
max.plots.per.page |
Maximum number of plots per page in the mulltiple layout |
... |
Other arguments passed to
xpose.multiple.plot.default,
xyplot and others. Please see these
functions for more descriptions of what you can do.
|
A list of plots
Additional plot features
CI = "both", "area" or "lines"NULL means no CI.mark.outside.data = TRUE or FALSE abline = TRUE TRUE, FALSE
and NULL.
Line and area control. See
plot, grid.polygon
and xyplot for more details.
CI.area.col = "blue"CI.area.alpha = 0.3CI.area.col have? Defaults to 0.3.ab.lwd=1ab.lty="dashed"CI.upper.lty="dotted" CI = "both" or
"lines"?CI.upper.col="brown"CI = "both" or
"lines"?CI.upper.lwd="2" CI = "both" or
"lines"?CI.lower.lty="dotted" CI = "both" or
"lines"?CI.lower.col="brown"CI = "both" or
"lines"?CI.lower.lwd="2" CI = "both" or
"lines"?obs.col="black"obs.pch=19obs.lty="solid"obs.type="b"obs.cex=1obs.lwd=1out.col="red"mark.outside.data = TRUE.out.pch=8mark.outside.data = TRUE.out.cex=1.3mark.outside.data = TRUE.out.lwd=1mark.outside.data = TRUE.Andrew Hooker
read.npc.vpc.results
xpose.multiple.plot.default
xyplot
## Not run: library(xpose4) npc.coverage() ## to read files in a directory different than the current working directory npc.file <- "./another_directory/npc_results.csv" npc.coverage(npc.info=npc.file) ## End(Not run)