Get the modularity values based on DCBM and SBM assumptions for a single community detection estimator.

1 | ```
single.mod(A, clusters, K = 2)
``` |

`A` |
input matrix – adjacency matrix of an observed graph based on the non-isolated nodes, of dimension |

`clusters` |
input vector – the estimator of the community labels of the non-isolated nodes in the network, of dimension |

`K` |
the number of the communities, with 2 as the default value. |

`mod.dcbm` |
the modularity value based on the DCBM assumption. |

`mod.sbm` |
the modularity value based on the SBM assumption. |

Yang Feng, Richard J. Samworth and Yi Yu

Yang Feng, Richard J. Samworth and Yi Yu, Community Detection via Fused Principal Component Analysis, manuscript.

1 2 3 4 5 6 7 8 9 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.