Description Usage Arguments Details
Add a list of interventions to an InferenceEngine, using a list composed by the two following vectors:
intervention.vars
vector of the variables we manipulate;
intervention.vals
vector of values for the variables in observed.vars
in the corresponding position.
1 2 3 4 | interventions(x) <- value
## S4 replacement method for signature 'InferenceEngine'
interventions(x) <- value
|
x |
an |
value |
the list of interventions of the |
An intervention can be applied only when building an InferenceEngine
.
In case of multiple interventions of the same variable, the last intervention is the one used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.