edgemod: Class for edge models

Description Usage Arguments Value Note See Also

View source: R/edgemod.R

Description

A class with a random and density method for edges objects

Usage

1
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


SBMSplitMerge documentation built on July 1, 2020, 5:23 p.m.