Description Usage Arguments Details Value Author(s) References See Also Examples

estimates SBM parameters given community labels

1 | ```
SBM.estimate(A, g)
``` |

`A` |
adjacency matrix |

`g` |
a vector of community labels |

maximum likelhood is used

a list of

`B ` |
estimated block connection probability matrix |

`Phat ` |
estimated probability matrix |

`g ` |
community labels |

Tianxi Li, Elizaveta Levina, Ji Zhu

Maintainer: Tianxi Li tianxili@virginia.edu

B. Karrer and M. E. Newman. Stochastic blockmodels and community structure in networks. Physical Review E, 83(1):016107, 2011.

1 2 3 4 5 6 7 8 9 | ```
dt <- BlockModel.Gen(30,300,K=3,beta=0.2,rho=0)
A <- dt$A
sc <- reg.SP(A,K=3,lap=TRUE)
sbm <- SBM.estimate(A,sc$cluster)
sbm$B
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.