orderp_covar: Order-preserving co-variation scheme

View source: R/orderp_covariation.R

orderp_covarR Documentation

Order-preserving co-variation scheme

Description

orderp_covar returns an updated Bayesian network using order-preserving co-variation scheme

Usage

orderp_covar(bnfit, node, value_node, value_parents, new_value)

Arguments

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 node.

value_parents

character string. Levels of node's parents. The levels should be defined according to the order of the parents in bnfit[[node]][["parents"]]. If node has no parents, then should be set to NULL.

new_value

numeric value between 0 and 1. Value to which the parameter should be updated.

Details

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.

See Also

Other co-variation schemes: proportional_covar, uniform_covar


rramsiya/bnsens documentation built on Jan. 15, 2025, 7:24 a.m.