Learn R Programming

prabclus (version 2.2-7)

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)

Arguments

prabobj

object of class prab.

Value

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

Examples

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

Run the code above in your browser using DataLab