sampleDPA: generation of a network of the directed preferential...

View source: R/directedPrefAttachment.R

sampleDPAR Documentation

generation of a network of the directed preferential attachment (DPA) model

Description

generation of a network of the directed preferential attachment (DPA) model

Usage

sampleDPA(param)

Arguments

param

list with the following elements: $R (= number of iterations), $alpha, $beta , $deltaIn, $deltaOut (parameters of the DPA model)

Value

adjacency matrix of generated network

Examples

param <- list(R = 500, alpha = .04, beta = .02, deltaIn = 100, deltaOut = 100)
A <- sampleDPA(param)
A

graphclust documentation built on June 7, 2023, 5:18 p.m.