CheckentropartArguments: Checks the arguments of a function of the package entropart

View source: R/CheckentropartArguments.R

CheckentropartArgumentsR Documentation

Checks the arguments of a function of the package entropart

Description

This function is used internally to verify that arguments passed to entropart functions such as PhyloDiversity are correct.

Usage

CheckentropartArguments()

Details

The function compares the arguments passed to its parent function to the type they should be and performs some extra tests (e.g. probabilities must be positive and sum to 1). It stops if an argument is not correct.

Value

Returns TRUE or stops if a problem is detected.


entropart documentation built on Sept. 26, 2023, 5:09 p.m.