edgemod {SBMSplitMerge}R Documentation

Class for edge models

Description

A class with a random and density method for edges objects

Usage

edgemod(logd, r, ...)

Arguments

logd

function(e, p) to calculate likelihood of edge an edge e given parameter array p

r

function(p) - simulate an edge given a parameter p (optional)

...

additional arguments to append to edgemod internal list

Value

an edgemod object

Note

the parameter for logd is an array of c(dimension of theta, dim(E)) e.g. from parammat

See Also

edges_bern edges_pois edges_norm


[Package SBMSplitMerge version 1.1.1 Index]