toprab: Convert abundance matrix into presence/absence matrix

View source: R/abundfunctions.R

toprabR 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 christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en

Examples

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

prabclus documentation built on Sept. 24, 2024, 5:07 p.m.