Learn R Programming

ntwk (version 1.0.0)

isolated_network: Creates adjacency matrix with max degree zero.

Description

Creates adjacency matrix with max degree zero.

Usage

isolated_network(d, theta_1, theta_2)

Arguments

d

Number of nodes.

theta_1

Off-diagonal value or network effect.

theta_2

Diagonal value or momentum effect.

Value

adjacency matrix of a graph with max degree zero.

Examples

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

Run the code above in your browser using DataLab