bootstrap.ParTab: Create Parameter Table from NONMEM Bootsrap

View source: R/bootstrap.parTab.r

bootstrap.ParTabR Documentation

Create Parameter Table from NONMEM Bootsrap

Description

Creates parameter table from NONMEM bootstrap.

Usage

bootstrap.ParTab(
  bootstrap,
  idx = list(theta = 1, omega = 1, sigma = 1),
  probs = 0.95,
  central = median,
  digits = 3,
  latex = FALSE,
  align.dot = FALSE,
  transformations
)

Arguments

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 formatted.signif

align.dot

passed to formatted.signif

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.

Value

A data.frame with the bootstrap estimates.

Examples

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

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.