R: Convert abundance matrix into presence/absence matrix

toprab {prabclus} | R Documentation

## Convert abundance matrix into presence/absence matrix

### Description

Converts abundance matrix into binary (logical) presence/absence matrix (`TRUE` if abundance>0).

### Usage

    toprab(prabobj)

### Arguments

`prabobj` | object of class `prab`.

### Value

Logical matrix with same dimensions as `prabobj$prab` as described above.

### Author(s)

Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche

### Examples

      data(siskiyou)
      x <- prabinit(prabmatrix=siskiyou, neighborhood=siskiyou.nb,
                 distance="none")
      toprab(x)

[Package prabclus version 2.2-6 Index]