Learn R Programming

prabclus (version 2.3-4)

toprab: Convert abundance matrix into presence/absence matrix

Description

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

Usage

toprab(prabobj)

Value

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

Arguments

prabobj

object of class prab.

Examples

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

Run the code above in your browser using DataLab