Skip to content

certara/pmxpartabc

Repository files navigation

experimental

pmxpartabc

An R package for parameter estimate tables.


Installation

This package is not yet on CRAN. To install the latest development version directly from GitHub:

require(remotes)
devtools::install_github("certara/pmxpartabc")

Usage

library(pmxpartabc)

output <- parframe2setup(run_dir = file.path(system.file(package = "pmxpartabc"), "examples"), 
                      run_prefix = "run", 
                      runno = "5",
                      bootstrap = TRUE,
                      run_dir.boot = file.path(system.file(package = "pmxpartabc"), "examples", "bootstrap_dir2"),
                      runno.boot = "5boot",
                      conf.level = 0.95, 
                      min_suc = TRUE)

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

table <- pmxpartab(df, 
                   meta = output[[2]],
                   columns=c(value="Estimate", boot.median = "Bootstrap Estimate", rse="RSE%", ci95="95%CI", shrinkage="Shrinkage")
                   )

print(table)
Parameter Estimate Bootstrap Estimate RSE% 95%CI Shrinkage
Typical Values
Central Volume (L) 24.7 24.9 8.29 21.7 – 26.8
Clearance (L/h) 0.659 0.669 249 0.303 – 0.759
Peripheral Volume (L) 76.5 79.4 195 68.4 – 115
Intercompartimental Clearance (L/h) 1.83 1.89 34.7 1.83 – 1.95
Absorption Rate (h-1) 0.653 0.636 52.7 0.559 – 0.790
Between Subject Variability
On Volume 0.169 0.169 22.2 0.0999 – 0.219 0.300%
Correlation On Clearance,On Volume 0.140 0.139 199 0.0928 – 0.336
On Clearance 0.358 0.368 282 0.234 – 1.62 1.30%
Residual Error
Proportional Error (-) 0.102 0.104 147 0.0977 – 0.115 20.1%

About

An R package for parameter estimate tables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published