Description Usage Arguments Details See Also
View source: R/orderp_covariation.R
orderp_covar
returns an updated Bayesian network using order-preserving
co-variation scheme
1 | orderp_covar(bnfit, node, value_node, value_parents, new_value)
|
bnfit |
object of class bn.fit |
node |
character string. Node of which the conditional probability distribution is being changed. |
value_node |
character string. Level of |
value_parents |
character string. Levels of |
new_value |
numeric value between 0 and 1. Value to which the parameter should be updated. |
The Bayesian network on which parameter variation is being conducted should be expressed as a bn.fit object.
The name of the node to be varied, its level and its parent's level should be specified.
The parameter variation specified by the function is:
P ( node
= value_node
| parents = value_parents
) = new_value
It should be noted that if two or more parameters in a distribution have the same value, the order is given by the one in the respective conditional probability table.
Other co-variation schemes: proportional_covar
,
uniform_covar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.