to_incidence: Convert abundance data to incidence data

Description Usage Arguments Value Examples

Description

Take an abundance dataset and remove abundance information, leaving only presence (1) and incidence (0) data.

Usage

1
to_incidence(dataset)

Arguments

dataset

A data frame containing abundance or incidence data

Value

The subsampled dataset as a tibble

Examples

1
2
3
library(iNEXT)
data(bird)
to_incidence(bird)

boydorr/sampling documentation built on May 23, 2019, 1:45 p.m.