plot_adj: Plot Adjacency Matrix

View source: R/plot_utils.R

plot_adjR Documentation

Plot Adjacency Matrix

Description

This function creates a plot of an adjacency matrix, where the matrix is displayed as an image.

Usage

plot_adj(X, ...)

Arguments

X

An adjacency matrix to be plotted.

...

Additional graphical parameters to pass to 'image'.

Value

Generates a plot.

Examples

adj_matrix <- matrix(rbinom(100, 1, 0.5), 10, 10)
plot_adj(adj_matrix)


localboot documentation built on May 29, 2024, 2:32 a.m.