rghype {ghypernet}R Documentation

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

data('adj_karate')
model <- scm(adj_karate, FALSE, FALSE)
rghype(1, model)


[Package ghypernet version 1.1.0 Index]