rADMG: Function to generate random graphs

View source: R/randomGr.R

rADMGR Documentation

Function to generate random graphs

Description

Function to generate random graphs

Usage

rADMG(n, N = 1, p_dir = 1/n, p_bi = 1/n, list = FALSE, arid = FALSE)

Arguments

n

number of vertices

N

number of graph to simulate

p_dir, p_bi

probability of a directed/bidirected edge

list

logical: should output always be a list?

arid

logical: should graph be made to be arid?

alpha

parameter for generating numbers

Details

Uses a binomial number of edges based on p_dir and p_bi.


rje42/ADMGs2 documentation built on Sept. 3, 2024, 7:39 p.m.