multinom {SBMSplitMerge} | R Documentation |
Multinomial block assignment
Description
A blockmod
for Multinomial allocation
Usage
multinom(gamma, kappa)
Arguments
gamma |
parameter for Dirichlet component |
kappa |
the number of blocks |
Details
This model posits that: for i=1:n
Z_i ~ Multinomial(omega)
where
omega ~ Dirichlet(gamma)
Value
a block model representing a Multinomial(gamma)
distribution
Examples
## A fixed number of blocks with multinomial assignment of nodes
m <- multinom(1, 4)
print(m)
m$r(10) ## simulate a blocks object with 10 nodes
[Package SBMSplitMerge version 1.1.1 Index]