graphMatrixAssoc: Measure the association degree between a graph and a...

Description Usage Arguments Value Examples

Description

This function computes the association degree between a covariabce matrix and a graph. The computed metric relies only on the correspondance between the zeros in the inverted covariance matix and the set of conditional independencies.

Usage

1

Arguments

A

A covariance Matrix.

C

A list of numeric vectors which specify the graph's maximal cliques

Value

This function returns a numeric value which measures the association degree between the covariance matrix and the graph.

Examples

1
2
3
4
5
6
A <- matrix(0,5,5)
diag(A) <- 1:5
diag(A[-1,-5]) <- 1:4
diag(A[-5,-1]) <- 1:4
cliques <- list(c(1,2),c(2,3), c(3,4),c(4,5))
d1 <- graphMatrixAssoc(A,C)

km20/gemalgorithm documentation built on May 29, 2019, 2:50 p.m.