blockmod {SBMSplitMerge} | R Documentation |
Block Model
Description
create a blockmod
object
Usage
blockmod(fixkappa, logd, dcond, r, ...)
Arguments
fixkappa |
Logical - is kappa fixed or can it vary under the model? |
logd |
|
dcond |
|
r |
|
... |
parameters of the model for use in |
Details
A block model is a probability model for a blocks
object.
This class creates a closure with three functions:
- a random method for sampling block a structure from the model with n
nodes; a
- a log-density method for computing the log-density of a given block structure in a blocks
object
- a conditional density function that takes a blocks
object and a node i
Value
a blockmod
object
See Also
[Package SBMSplitMerge version 1.1.1 Index]