Example with all information in the yaml file (except from parameter name). No bootstrap information available (ie, CI calculated with normal distribution assumptions).
knitr::opts_chunk$set(echo = TRUE)
# ----- Load package ----- library(pmxpartabc) # ----- Define directory and file names ----- run_dir <- file.path(system.file(package = "pmxpartabc"), "examples") run_prefix <- "run" runno <- "6" yaml.file.name <- file.path(system.file(package = "pmxpartabc"), "meta.yaml")
output <- parframe2setup(run_dir, run_prefix, runno, conf.level = 0.95, min_suc = TRUE, yaml.file = TRUE, yaml.file.name = yaml.file.name) tab=parframe(out=output[[1]], meta=output[[2]]) tab1=pmxpartab(tab, output[[2]], columns=c(value="Estimate", rse="RSE%", ci95="95%CI", shrinkage="Shrinkage")) print(tab1)
sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.