SHDI: SHDI

Description Usage Arguments

View source: R/SHDI.R

Description

Helper function to calculate Shannon Diversity Index.

Usage

1
SHDI(x, na.rm = TRUE)

Arguments

x

Numeric vector or matrix.

na.rm

Logical. Should missing values be removed? Defaults to TRUE.


rasenior/PatchStatsFLIR documentation built on Oct. 28, 2020, 11:53 p.m.