interventions {bnstruct}R Documentation

get the list of interventions of an InferenceEngine.

Description

Return the list of interventions added to an InferenceEngine.

Usage

interventions(x)

## S4 method for signature 'InferenceEngine'
interventions(x)

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.

Value

the list of interventions of the InferenceEngine.


[Package bnstruct version 1.0.15 Index]