Description Usage Arguments Details See Also
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 in observed.vars
in the corresponding position.
1 2 3 4 | observations(x) <- value
## S4 replacement method for signature 'InferenceEngine'
observations(x) <- value
|
x |
an |
value |
the list of observations of the |
Replace previous list of observations, if present. In order to add evidence, and not just replace it,
one must use the add.observations<-
method.
In case of multiple observations of the same variable, the last observation is the one used, as the most recent.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.