Creates a parameter table from a model name. Pass the project argument or set the project option.
# S3 method for character
partab(
x,
verbose = FALSE,
lo = "5",
hi = "95",
metafile = modelpath(x, "def", ...),
xmlfile = modelpath(x, "xml", ...),
ctlfile = modelfile(x, ...),
bootcsv,
strip.namespace = TRUE,
skip = 28,
check.names = FALSE,
digits = 3,
ci = TRUE,
open = "(",
close = ")",
sep = ", ",
format = TRUE,
fields = getOption("fields", default = c("symbol", "label", "unit")),
relative = TRUE,
percent = relative,
nonzero = TRUE,
shrinkage = FALSE,
correlation = FALSE,
...
)
object of class partab, data.frame
a model name (numeric or character)
set FALSE to suppress messages
the PsN bootstrap lower confidence limit (%)
the PsN bootstrap upper confidence limit (%)
optional metadata for parameter table (see also: fields)
path to xml file
path to control stream
path to PsN bootstrap_results.csv
whether to strip e.g. nm: from xml elements for easier xpath syntax
number of lines to skip in bootstrap_results.csv
passed to bootstrap reader
limits numerics to significant digits (use NULL to suppress)
combine bootstrap lo and hi into an enclosed interval
first character for bootstrap interval
last character for bootstrap interval
separator for bootstrap interval
format numerics as character
metadata fields to read from control stream. See details.
transform standard errors to relative standard errors: rse replaces se
if relative is true, express as percent (else ignore): prse replaces se
limit random effects to those with nonzero estimates
whether to include percent shrinkage on random effects
whether to include correlation of random effects (as percent if percent
is true)
passed to other functions
Normally you can just call the generic. Suitable defaults are supplied, but much customization is supported by means of arguments documented here and in called functions.
Metadata can be added to the parameter table two ways: as markup in the control stream, and as a *.def file in the model directory. See vignette('parameter-table') for details.
as.xml_document.character
as.bootstrap.character
as.model.character
as.csv
Other partab:
partab.numeric()
,
partab()
library(magrittr)
options(project = system.file('project/model',package='nonmemica'))
1001 %>% partab
1001 %>% partab(shrinkage = TRUE, correlation = TRUE)
Run the code above in your browser using DataLab