powered by
Enter evidence into a the junction tree object that has not been propagated
set_evidence(x, evidence, initialize_cpts = TRUE)# S3 method for jt set_evidence(x, evidence, initialize_cpts = FALSE)# S3 method for charge set_evidence(x, evidence, initialize_cpts = TRUE)
# S3 method for jt set_evidence(x, evidence, initialize_cpts = FALSE)
# S3 method for charge set_evidence(x, evidence, initialize_cpts = TRUE)
A junction tree object, jt.
jt
A named vector. The names are the variabes and the elements are the evidence.
TRUE if the CPTs should be initialized and then create the clique potentials. Only relevant on objects returned from compile.
TRUE
compile
jt, mpe
mpe
# See the 'jt' function
Run the code above in your browser using DataLab