set_evidence {jti} | R Documentation |
Enter Evidence
Description
Enter evidence into a the junction tree object that has not been propagated
Usage
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)
Arguments
x |
A junction tree object, |
evidence |
A named vector. The names are the variabes and the elements are the evidence. |
initialize_cpts |
|
See Also
Examples
# See the 'jt' function
[Package jti version 0.8.4 Index]