Example with all information coded in the NONMEM run and bootstrap information available.

knitr::opts_chunk$set(echo = TRUE)

Setup environment

# ----- Load package -----
library(pmxpartabc)

# Specify run directories
run_dir    <- file.path(system.file(package = "pmxpartabc"), "examples")
run_dir.boot <- file.path(run_dir, 'bootstrap_dir2')
run_prefix <- "run"
runno     <-  "5"
runno.boot <- "5boot"

Parameter table 1 - using model output directly

output <- parframe2setup(run_dir, 
                         run_prefix, 
                         runno, 
                         bootstrap = TRUE, 
                         run_dir.boot, 
                         runno.boot, 
                         conf.level = 0.95, 
                         min_suc = TRUE)

tab <- parframe(out=output[[1]], meta=output[[2]], bootstrap=TRUE)  

tab1 <- pmxpartab(tab, output[[2]], columns=c(value="Estimate", rse="RSE%", ci95="95%CI", shrinkage="Shrinkage"))

print(tab1)

Session information

sessionInfo()


certara/pmxpartabc documentation built on March 16, 2024, 4:38 p.m.