View source: R/bootstrap.parTab.r
bootstrap.ParTab | R Documentation |
Creates parameter table from NONMEM bootstrap.
bootstrap.ParTab(
bootstrap,
idx = list(theta = 1, omega = 1, sigma = 1),
probs = 0.95,
central = median,
digits = 3,
latex = FALSE,
align.dot = FALSE,
transformations
)
bootstrap |
A bootstrap object (list) created by read.bootstrap. |
idx |
list of which parameters to include. |
probs |
The confidence interval coverage. |
central |
function for central tendency of distribution |
digits |
number of significant digits in output |
latex |
passed to |
align.dot |
passed to |
transformations |
a list with elements log or logit, that, in turn, are numeric vectors representating the THETA numbers that are logged or logit-transformed, respectively. |
A data.frame with the bootstrap estimates.
myBoot = read.bootstrap(
path = getOption("qpExampleDir"),
filename = "bootstrap/raw_results_bs4011.csv",
structure.filename = "bootstrap/raw_results_structure"
)
bootstrap.ParTab(myBoot, idx = list(theta = 1:13,omega = 1:7,sigma = 1))
bootstrap.ParTab(myBoot, idx = list(theta = 1:13,omega = 1:7,sigma = 1))[c(13,14,15),]
bootstrap.ParTab(myBoot, idx = list(theta = 1:13,omega = 1:7,sigma = 1),
transformations = list(log = 13:14, logit = 15))[c(13,14,15),] # partly fictional
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.