Description Usage Arguments Value See Also
Get the marginal probability of a node, when each other node (separately) has been conditioned upon each of its levels.
1 | marginalGivenOthers(x, node, dat, FUN = identity, ...)
|
x |
A grain object |
node |
An integer or a name of a column of
|
dat |
A data frame, with columns corresponding to
the Bayes Net in |
FUN |
a function that is applied to the output of
|
... |
Passed to |
A list, with a component for each node of the Bayes Net
(apart from the node node). Each component is a
list, corresponding to the named level. These components
contain the result of applying result of applying
FUN to the result of querygrain.
marginalGivenIntervention,
as.grain, queryFinding
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.