View source: R/directedPrefAttachment.R
sampleDPA | R Documentation |
generation of a network of the directed preferential attachment (DPA) model
sampleDPA(param)
param |
list with the following elements: $R (= number of iterations), $alpha, $beta , $deltaIn, $deltaOut (parameters of the DPA model) |
adjacency matrix of generated network
param <- list(R = 500, alpha = .04, beta = .02, deltaIn = 100, deltaOut = 100)
A <- sampleDPA(param)
A
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.