rm_sp_noobs: Remove species that not observed in any site

Description Usage Arguments Value Author(s)

View source: R/utils.R

Description

Remove species that not observed in any site

Usage

1
rm_sp_noobs(df, warn = FALSE)

Arguments

df

A data frame in wide form, i.e. site by species data frame, with site names as row name.

warn

Whether to warn when any species does not occur in at least one site? Default is FALSE.

Value

A site by species data frame.

Author(s)

Daijiang Li

This function will remove species that has no observations in any site.


phyr documentation built on Jan. 13, 2021, 5:40 p.m.