sbm_ev.sbm_4group: compute the expected value for various quantities under...

View source: R/stochastic_block_model.R

sbm_ev.sbm_4groupR Documentation

compute the expected value for various quantities under four-group model

Description

compute the expected value for various quantities under four-group model

Usage

## S3 method for class 'sbm_4group'
sbm_ev(
  params,
  inF = c("FnotH", "FH"),
  inH = c("FH", "notFH"),
  inU = c("FnotH", "FH", "notFnotH", "notFH")
)

Arguments

params

list/object containing the simulation parameters

inF

vector with 1s for blocks in F, 0 otherwise

inH

vector with 1s for blocks in H, 0 otherwise

inU

vector with 1s for blocks in U, 0 otherwise

Value

the expected value of various quantities


dfeehan/nrsimulatr documentation built on Feb. 27, 2024, 3:18 a.m.