| hergm-dirichlet {hergm} | R Documentation |
Sample truncated Dirichlet process prior.
hergm.dirichlet(n,
number,
alpha,
eta_mean,
eta_sd)
n |
number of nodes. |
number |
number of blocks. |
alpha |
scaling parameter. |
eta_mean |
mean of Gaussian base distribution of Dirichlet process prior. |
eta_sd |
standard deviation of Gaussian base distribution of Dirichlet process prior. |
Indicators of block memberships of nodes indicator and block parameters eta.
## Not run: # Load undirected network with 15 nodes hergm.dirichlet(n=100, number=100, alpha=1, eta_mean=-1, eta_sd=1) ## End(Not run)