Skip to contents

run_bbni() returns a list of class bbni containing the sampled path of the Metropolis-within-Gibbs chain. Classed objects have print(), summary(), and plot() methods; all list components remain directly accessible via $.

Details

Components:

  • networks: list of MCMC sampled transition-function matrices.

  • log_posterior: numeric vector of collapsed log-posterior values.

  • post_edge_prob: matrix of marginal posterior edge probabilities; entry [i, j] is the probability of the directed edge j -> i.

  • burn_in: the burn-in ratio used for posterior summarization.

Run metadata (num.node, SampleSize, num_update, timeseries) is stored as attributes.