Learn R Programming

EDISON (version 1.1.1)

calculateEdgeProbabilitiesTimePoints: Calculate the edge posterior probabilities for each timepoint.

Description

This function calculates the marginal posterior edge probabilities of the network at each timepoint.

Usage

calculateEdgeProbabilitiesTimePoints(network.samples, cps, numNodes)

Arguments

network.samples
Collection of network and changepoint samples of the MCMC simulation, as obtained by EDISON.run, runDBN.
cps
Changepoint vector.
numNodes
Number of nodes in the network.

Value

A list of length equal to the number of timepoints, where each entry contains a matrix of size NumNodes by NumNodes with the marginal posterior edge probabilities of the network at this timepoint.

See Also

calculateEdgeProbabilities,

calculateEdgeProbabilitiesSegs