Description Usage Arguments Details Value See Also Examples
Compute the log marginal likelihood of the supplied Bayesian Network.
1 2 3 | ## S3 method for class 'bn'
logScoreNormal(x, data,
cache = new.env(hash = T), checkInput = T, ...)
|
x |
An object of class "bn". The Bayesian Network by for which the marginal likelihood is computed. |
data |
A matrix with columns giving the value of each random variable. |
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. |
... |
Further arguments, currently unused |
The data is scored as continuous, using a form of the Normal Prior.
A numeric vector of length 1, giving the log marginal likelihood. The environment 'cache' will also be updated because its scope is global.
logScoreNormal
,
logScoreNormal.bn.list
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.