calculateEdgeProbabilitiesSegs {EDISON}R Documentation

Calculate edge probabilities for fixed segments.

Description

This function calculates the marginal posterior probabilities for the edges in each network for the specified segments.

Usage

calculateEdgeProbabilitiesSegs(prob.networks, cps, numNodes)

Arguments

prob.networks

List containing the marginal posterior probabilities for the edges of each network at each timepoint, from calculateEdgeProbabilitiesTimePoints.

cps

Changepoints defining the segments for which the edge probabilities should be calculated. Note that these are global changepoints that apply to the whole network.

numNodes

Number of nodes in the network.

Value

Returns a list of length equal to the number of segments, with each entry containing a matrix of size NumNodes by NumNodes which contains the marginal edge probabilities for that segment.

Author(s)

Frank Dondelinger

See Also

calculateEdgeProbabilities,

calculateEdgeProbabilitiesTimePoints


[Package EDISON version 1.1.1 Index]