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



Returns TRUE or stops if a problem is detected.


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.