Skip to contents

This function requires the igraph package to be installed.

Usage

plot_weight_matrix(W, k, l)

Arguments

W

The weight matrix which equals an adjacency matrix

k

Number of categories in the first external covariate

l

Number of categories in the second external covariate

Value

An igraph object

See also

Examples

# Requires to have the igraph package to be installed
W <- create_weight_matrix(type = "full", k = 2, l = 3)
plot_weight_matrix(W, k=2, l=3)