clean.dataset: Convert a dataset to binary, and remove unusually rare or...

Description Usage Arguments Value See Also

Description

Converts a dataset to binary format and removes rare and/or common species.

Usage

1
clean.dataset(x, make.binary=TRUE, cutoff.min=0.1, cutoff.max=1, ...)

Arguments

x

A data.frame or matrix

make.binary

Should the dataset be converted to binary? Defaults to TRUE

cutoff.min

Minimum proportion of occupied rows for a species to be retained in the dataset.

cutoff.max

Maximum proportion of occupied rows for a species to be retained in the dataset.

...

Further information to pass to make.binary (i.e. to set a threshold)

Value

Expansion to make.binary, that removes very rare and/or very common species from the dataset.

See Also

cut


mjwestgate/sppairs documentation built on May 23, 2019, 1:05 a.m.