Description Usage Arguments Details Value Author(s) Examples
Provides a data.frame
of both random and deterministic nodes in a tsbugs
BUGS model. Can also be used to extract nodes from just a single part of the model, such as the prior distributions. This might be of particular use to users when setting up parameters to follow when running models through R2WinBUGS or R2OpenBUGS.
1 |
bug |
A time series BUGS model created using the |
part |
A part of the |
Provides a summary of nodes in all of, or part of, the tsbugs
BUGS model. Returns a data frame with details on each node. When nodes are within a loop additional details on the starting and ending time points for the node are also given.
A data.frame
with columns:
name |
Name of node. |
type |
Stochastic node represented by |
dt |
Distribution or transformation in node. |
beg |
Beginning of node loop. |
end |
End of node loop. |
stoc |
Binary representation of type column, where 1 represents a stochastic node and 0 a deterministic node. |
id |
Line number of node in the BUGS model. |
dist |
Distribution in node. |
param1 |
First parameter of distribution. |
param2 |
Second parameter of distribution. |
Guy J. Abel
1 2 3 4 5 6 7 8 9 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.