Description Usage Arguments Value See Also
Extract all parameters from the log file that matches pattern
.
e.g if par="R0" extract (R0s.1 R0s.2 R0s.3 etc.).
If the input log file contains more than one chain, the set of matching
parameters will be extracted from each chain.
1 | getLogFileSubset(logfile, pattern, start = FALSE)
|
logfile |
The logfile object to extract the subset from. Can be an "mcmc", "mcmc.list" or "data.frame" object, or a list of "data.frame" objects. |
pattern |
The string to match with the names of the parameters to extract. This is treated as a regular expression. |
start |
If TRUE then only the start of parameter names are matched
against pattern ( |
The object returned is always of the same class as the input
log file (mcmc
, mcmc.list
,
data.frame
or a list of data.frame
),
but will only contain traces for the parameters matching
pattern
.
readLog, grep
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.