Learn R Programming

bnstruct (version 1.0.15)

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.vars

vector of manipulated variables;

intervention.vals

vector of values for the variables in observed.vars in the corresponding position.