makebugsGroup | R Documentation |
Make BUGS model from fitted DAG with grouping
makebugsGroup(
dag,
data.dists,
stderrors,
group.var,
mu,
betas,
sigma,
sigma_alpha
)
dag |
named adjacency matrix representing the DAG. Names correspond to node names. |
data.dists |
list of node distributions. |
stderrors |
a list named by the node names containing for each element a matrix with the nodes' standard errors |
group.var |
only applicable for mixed models and gives the column name in |
mu |
Standard deviation of fixed effects. |
betas |
Coefficients/slopes of fixed effects . |
sigma |
variance of random effects. |
sigma_alpha |
variance-covariance matrix corresponding to covariances output from |
Bugs model returned as stdout.
simulateAbn gauss_bugsGroup bern_bugsGroup categorical_bugsGroup pois_bugsGroup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.