get.most.probable.values: compute the most probable values to be observed.
Description
Return an array containing the values that each variable of the network is more likely to take, according to the CPTS.
In case of ties take the first value.
Usage
get.most.probable.values(x, prev.values = NULL)
# S4 method for BN
get.most.probable.values(x, prev.values = NULL)
# S4 method for InferenceEngine
get.most.probable.values(x,
prev.values = NULL)
# NOT RUN {# try with a BN object xget.most.probable.values(x)
# now build an InferenceEngine objecteng <- InferenceEngine(x)
get.most.probable.values(eng)
# }# NOT RUN {# }