Add a list of observations to an InferenceEngine, using a list of observations composed by the two following vectors:
observed.vars
vector of observed variables;observed.vals
vector of values observed for the variables inobserved.vars
in the corresponding position.
Usage
observations(x) <- value
# S4 method for InferenceEngine
observations(x) <- value
Arguments
- x
an
InferenceEngine
.- value
the list of observations of the
InferenceEngine
.