Learn R Programming

ntwk (version 1.0.0)

fully_connected_network: Fully-connected graph.

Description

Fully-connected graph.

Usage

fully_connected_network(d, theta_1, theta_2, directed = FALSE)

Arguments

d

Number of nodes.

theta_1

Off-diagonal value or network effect.

theta_2

Diagonal value or momentum effect.

directed

Boolean if lower triangular is the opposite to the upper triangular matrix.

Value

A d x d adjacency matrix of a fully-connected graph.

Examples

Run this code
# NOT RUN {
d <- 10
theta_2 <- 2
theta_1 <- 1
fully_connected_network(d = d, theta_1 = theta_1, theta_2 = theta_2)
# }

Run the code above in your browser using DataLab