Learn R Programming

bnstruct (version 1.0.13)

interventions: get the list of interventions of an InferenceEngine.

Description

Return the list of interventions added to an InferenceEngine.

Usage

interventions(x)

# S4 method for InferenceEngine interventions(x)

Value

the list of interventions of the InferenceEngine.

Arguments

x

an InferenceEngine.

Details

Output is a list in the following format:

  • intervention.varsvector of manipulated variables;

  • intervention.valsvector of values for the variables in observed.vars in the corresponding position.