give.thresh | R Documentation |

It is used to select a truncation value for the dbMEM approach. It returns the minimum value that keep all samples connected.

```
give.thresh(matdist)
```

`matdist` |
A distance matrix (class |

The maximum distance in the minimum spanning tree.

Stéphane Dray stephane.dray@univ-lyon1.fr

```
xy <- matrix(rnorm(60),30,2)
dxy <- dist(xy)
th <- give.thresh(dxy)
```

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.