powered by
generation of a network of the directed preferential attachment (DPA) model
sampleDPA(param)
adjacency matrix of generated network
list with the following elements: $R (= number of iterations), $alpha, $beta , $deltaIn, $deltaOut (parameters of the DPA model)
param <- list(R = 500, alpha = .04, beta = .02, deltaIn = 100, deltaOut = 100) A <- sampleDPA(param) A
Run the code above in your browser using DataLab