Computing edge probabilities

EdgeProba(W, verbatim = FALSE)

Arguments

W

squared weight matrix

verbatim

controls verbosity

Value

Edges conditional probabilities computed directly, without using the Kirshner function.

Examples

W = matrix(c(1,1,3,1,1,1,3,1,1),3,3,byrow=TRUE) EdgeProba(W)
#> [,1] [,2] [,3] #> [1,] 0.0000000 0.5714286 0.8571429 #> [2,] 0.5714286 0.0000000 0.5714286 #> [3,] 0.8571429 0.5714286 0.0000000