File: toprab.Rd

package info (click to toggle)
r-cran-prabclus 2.3-2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,392 kB
  • sloc: sh: 13; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
\name{toprab}
\alias{toprab}
%- Also NEED an `\alias' for EACH other topic documented here.
\title{Convert abundance matrix into presence/absence matrix}
\description{
  Converts abundance matrix into binary (logical) presence/absence
  matrix (\code{TRUE} if
  abundance>0). 
}
\usage{
toprab(prabobj)
}
%- maybe also `usage' for other objects documented here.
\arguments{
  \item{prabobj}{object of class \code{prab}.}
}
\value{
  Logical matrix with same dimensions as \code{prabobj$prab} as described above.
}

\author{Christian Hennig
  \email{christian.hennig@unibo.it}
  \url{https://www.unibo.it/sitoweb/christian.hennig/en}}


\examples{
  data(siskiyou)
  x <- prabinit(prabmatrix=siskiyou, neighborhood=siskiyou.nb,
             distance="none")
  toprab(x)
}
\keyword{manip}% at least one, from doc/KEYWORDS