erdos: Simulates an Erdös-Renyi graph

View source: R/gener_data.R

erdosR Documentation

Simulates an Erdös-Renyi graph

Description

Simulates an Erdös-Renyi graph

Usage

erdos(p, prob)

Arguments

p

number of nodes

prob

probability for an edge, which is the same for all edges

Value

the adjacency matrix

Examples

erdos(10,0.3)

Rmomal/EMtree documentation built on Dec. 14, 2024, 8:16 a.m.