View source: R/helper_set_evidence.R
set_evidence | R Documentation |
Enter evidence into a the junction tree object that has not been propagated
set_evidence(x, evidence, initialize_cpts = TRUE)
## S3 method for class 'jt'
set_evidence(x, evidence, initialize_cpts = FALSE)
## S3 method for class 'charge'
set_evidence(x, evidence, initialize_cpts = TRUE)
x |
A junction tree object, |
evidence |
A named vector. The names are the variabes and the elements are the evidence. |
initialize_cpts |
|
jt
, mpe
# See the 'jt' function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.