Function to create histograms of results from the bootstrap tool in PsN
Source: R/boot.hist.R
boot.hist.RdReads results from the bootstrap tool in PsN
and then creates histograms.
Usage
boot.hist(
results.file = "raw_results_run1.csv",
incl.ids.file = "included_individuals1.csv",
min.failed = FALSE,
cov.failed = FALSE,
cov.warnings = FALSE,
boundary = FALSE,
showOriginal = TRUE,
showMean = FALSE,
showMedian = FALSE,
showPCTS = FALSE,
PCTS = c(0.025, 0.975),
excl.id = c(),
layout = NULL,
sort.plots = TRUE,
main = "Default",
...
)Arguments
- results.file
The location of the results file from the
bootstraptool in PsN- incl.ids.file
The location of the included ids file from the
bootstraptool in PsN- min.failed
Should NONMEM runs that had failed minimization be skipped?
TRUEorFALSE- cov.failed
Should NONMEM runs that had a failed covariance step be skipped?
TRUEorFALSE- cov.warnings
Should NONMEM runs that had covariance step warnings be skipped?
TRUEorFALSE- boundary
Should NONMEM runs that had boundary warnings be skipped?
TRUEorFALSE- showOriginal
Should we show the value from the original NONMEM run in the histograms?
TRUEorFALSE- showMean
Should we show the mean of the histogram data?
TRUEorFALSE- showMedian
Should we show the median of the histogram data?
TRUEorFALSE- showPCTS
Should we show the percentiles of the histogram data?
TRUEorFALSE- PCTS
the percentiles to show. Can be a vector of any length. For example,
c(0.05,0.2,0.5,0.7)- excl.id
Vector of id numbers to exclude.
- layout
Layout of plots. A vector of number of rows and columns in each plot.
c(3,3)for example.- sort.plots
Should the plots be sorted based on type of parameter. Sorting on parameters, standard errors, shrinkage and eigenvalues.
- main
The title of the plot.
- ...
Additional arguments that can be passed to xpose.plot.histogram, xpose.panel.histogram, histogram and other lattice-package functions.
See also
xpose.plot.histogram, xpose.panel.histogram, histogram and other lattice-package functions.
Other PsN functions:
bootscm.import(),
npc.coverage(),
randtest.hist(),
read.npc.vpc.results(),
read.vpctab(),
xpose.VPC(),
xpose.VPC.both(),
xpose.VPC.categorical(),
xpose4-package