ghypernet (version 1.0.0)

rghype: Generate random realisations from ghype model.

Description

Generate random realisations from ghype model.

Usage

rghype(nsamples, model, m = NULL, multinomial = NULL, seed = NULL)

Arguments

nsamples

scalar number of realisations

model

ghype model

m

optional scalar, number of edges to draw

multinomial

optional boolean, draw from multinomial?

seed

optional scalar, seed for random sampling.

Value

list of adjacency matrices.

Examples

Run this code
# NOT RUN {
data('adj_karate')
model <- scm(adj_karate, FALSE, FALSE)
rghype(1, model)

# }

Run the code above in your browser using DataCamp Workspace