nodelike: Likelihood of node assignment

Description Usage Arguments Details Value

View source: R/nodelike.R

Description

Calculate the likelihood of a nod belonging to each of block

Usage

1

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


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