bbn.visualise {bbnet} | R Documentation |
Visualise Bayesian Belief Network Time Series Predictions
Description
bbn.visualise()
visualises the outcomes of a Bayesian Belief Network (BBN
) model over time,
given a single prior
scenario. It highlights the changes in network parameters across specified timesteps
and visualises the strength and direction of interactions among nodes
based on the specified disturbance
and threshold
parameters.
Usage
bbn.visualise(
bbn.model,
priors1,
timesteps = 5,
disturbance = 1,
threshold = 0.2,
font.size = 0.7,
arrow.size = 4
)
Arguments
bbn.model |
A matrix or dataframe of interactions between different model |
priors1 |
An X by 2 array of initial changes to the system under investigation.
The first column should be a -4 to 4 (including 0) integer value for each |
timesteps |
This is the number of |
disturbance |
Default = 1.
1 creates a prolonged or press |
threshold |
|
font.size |
Changes the font in the figure produced. Default = 0.7.
The value here is a multiplier of the default font size used in the |
arrow.size |
Changes the size of the arrows. Default = 4. Note, sizes do vary based on interaction strength, so this is a multiplier for visualisation purposes. |
Value
A plot of the BBN
, illustrating the dynamic interactions between nodes
over the specified timesteps
.
Examples
data(my_BBN, combined)
bbn.visualise(bbn.model = my_BBN, priors1 = combined,
timesteps=6, disturbance=1, threshold=0.2, font.size=0.7, arrow.size=4)