addIntervence.Model.Rd
Insert a degenerated one-dimensional probability distribution \(\pi\) over variable \(V\) such that \(\pi(V=val) == 1\) on the first position of respective generating sequence of the model.
# S3 method for Model addIntervence(model, variable, value)
model | compositional model |
---|---|
variable | variables name (\(V\)) |
value | value of the variable (\(V==val\)) |
it is a method. It changes the input model
#> Error in addIntervence(m, variable = "U", value = 1): could not find function "addIntervence"