Description Usage Arguments Value Author(s) References Examples

Get the ratio cut and normalised cut values for a single community detection estimator.

1 | ```
single.cut(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. |

`ratio.count` |
the value of the ratio cut. |

`normalised.count` |
the value of the normalised cut. |

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 |

```
Loading required package: genlasso
Loading required package: MASS
Loading required package: Matrix
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
[,1] [,2] [,3]
[1,] 0 1 1
[2,] 1 0 0
[3,] 1 0 0
$ratio.count
[1] 1.5
$normalised.count
[1] 1.333333
```

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.