Generate random realisations from ghype model.
rghype(nsamples, model, m = NULL, multinomial = NULL, seed = NULL)
scalar number of realisations
ghype model
optional scalar, number of edges to draw
optional boolean, draw from multinomial?
optional scalar, seed for random sampling.
list of adjacency matrices.
# NOT RUN { data('adj_karate') model <- scm(adj_karate, FALSE, FALSE) rghype(1, model) # }
Run the code above in your browser using DataLab