nodelike {SBMSplitMerge}R Documentation

Likelihood of node assignment

Description

Calculate the likelihood of a nod belonging to each of block

Usage

nodelike(blocks, params, edges, i, sbmmod, ...)

Arguments

blocks

an blocks object

params

an params object

edges

an edges object

i

the node of interest

sbmmod

an sbmmod object

...

additional arguments for nodelike.blocks

Details

the number of blocks considered is either the number of blocks in sbm (kappa) or kappa+1 when sbmmod has a variable number of blocks. care is taken for data which is directed and with loops.

Value

likelihood of edges emanating from node i


[Package SBMSplitMerge version 1.1.1 Index]