# Ratio cut and normalised cut values

### Description

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

### Usage

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

### Arguments

`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. |

### Value

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

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

### Author(s)

Yang Feng, Richard J. Samworth and Yi Yu

### References

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

### Examples

1 2 3 4 5 6 7 8 9 |