View source: R/nm.modeltrail.graph.r
nm.modeltrail.graph | R Documentation |
Create graphical presentation of Bayesian model building trail. The function reads the iterations from the run.ext file and displays them as densities in a lattice graph
nm.modeltrail.graph(
runs,
path = getOption("nmDir"),
file.ext = ".ext",
col.area = gray[5],
col.mean = red[7],
col.percentiles = gray[5],
relabel = NULL,
strip.size = NULL,
...
)
runs |
charater vector with run rootname (e.g. |
path |
directory where |
file.ext |
file extension of the run.ext file. Defaults to ".ext" |
col.area |
polygon color of the density plot |
col.mean |
color of the mean line |
col.percentiles |
color of the percentile lines |
relabel |
user-specified labels appearing in the Lattice strips |
strip.size |
scalar to for the strip size in case strip text is too small ortoo large |
... |
graphical arguments passed on to the lattice plots |
Lattice graph with the distributions of the MCMC Bayesian OFV, supplied with mean line and 2.5th and 97.5th percentiles
read.ext
## when there is no Bayesian estimation
nm.modeltrail.graph(runs = c("example1","example2")
, relabel = c("structural model", "final covariate model")
, file.ext = ".mext"
, path = getOption("qpExampleDir")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.