rm_site_noobs: Remove site that has no observations of any species

Description Usage Arguments Value Author(s)

View source: R/utils.R

Description

This function will remove site that has no observations in a site by species data frame.

Usage

1

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 site has no species? Default is FALSE.

Value

A site by species data frame.

Author(s)

Daijiang Li


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