This function updates an existing probabilistic network by adding or removing dependencies (edges) and updating probability distributions for nodes.
Arguments
- graph
An existing probabilistic network created by `prob_net()`.
- add_links
Optional. A data frame with columns `source` and `target` to add new links.
- remove_links
Optional. A data frame with columns `source` and `target` to remove existing links.
- update_distributions
Optional. A named list of distributions to update. Format follows `prob_net()`.