Description Usage Arguments Details Value See Also
View source: R/score-multdir.R
Compute the log marginal likelihood of the supplied Bayesian Network.
1 2 | logScoreMultDirOffline(x, logScoreParameters,
cache = new.env(hash = T), checkInput = T)
|
x |
An object of class "bn". The Bayesian Network by for which the marginal likelihood is computed. |
logScoreParameters |
A list with the following components:
|
cache |
Optionally, provide an environment with cached local scores for this data. |
checkInput |
A logical of length 1, specifying whether to check the inputs to the function. |
This function is an alternative interface to logScoreMultDir. This interface is required by the MCMC sampler.
A numeric vector of length 1, giving the log marginal likelihood. The environment 'cache' will also be updated because its scope is global.
logScoreMultDir,
logScoreMultDirIncremental
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.