View source: R/calc_node_inla_glm.R
calc.node.inla.glm | R Documentation |
Internal wrapper to INLA and are called from fitAbn.bayes
and buildScoreCache.bayes
.
calc.node.inla.glm(
child.loc = NULL,
dag.m.loc = NULL,
data.df.loc = NULL,
data.dists.loc = NULL,
ntrials.loc = NULL,
exposure.loc = NULL,
compute.fixed.loc = NULL,
mean.intercept.loc = NULL,
prec.intercept.loc = NULL,
mean.loc = NULL,
prec.loc = NULL,
loggam.shape.loc = NULL,
loggam.inv.scale.loc = NULL,
verbose.loc = FALSE,
nthreads = NULL
)
child.loc |
index of current child node. |
dag.m.loc |
dag as matrix. |
data.df.loc |
data df, |
data.dists.loc |
list of distributions. |
ntrials.loc |
|
exposure.loc |
|
compute.fixed.loc |
TRUE. |
mean.intercept.loc |
the prior mean for all the Gaussian additive terms for each node. INLA argument |
prec.intercept.loc |
the prior precision for all the Gaussian additive term for each node. INLA argument |
mean.loc |
the prior mean for all the Gaussian additive terms for each node. INLA argument |
prec.loc |
the prior precision for all the Gaussian additive term for each node. INLA argument |
loggam.shape.loc |
the shape parameter in the Gamma distribution prior for the precision in a Gaussian node. INLA argument |
loggam.inv.scale.loc |
the inverse scale parameter in the Gamma distribution prior for the precision in a Gaussian node. INLA argument |
verbose.loc |
FALSE to not print additional output. |
nthreads |
number of threads to use for INLA. Default is |
If INLA failed, FALSE or an error is returned. Otherwise, the direct output from INLA is returned.
Other Bayes:
buildScoreCache()
,
calc.node.inla.glmm()
,
fitAbn()
,
getmarginals()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.