Learn R Programming

metricTester (version 1.2.2)

checkNulls: Confirm that the null model functions are in suitable format

Description

Utility function. Creates a list of null models, either those defined in defineNulls or a named list of null model functions.

Usage

checkNulls(x)

Arguments

x
Optional named list of null models. Else, defines the nulls as those defined in defineNulls.

Value

A list of functions.

Details

A few quick checks to confirm the null model functions are input in suitable format.

References

Miller, E. T., D. R. Farine, and C. H. Trisos. 2015. Phylogenetic community structure metrics and null models: a review with new methods and software. bioRxiv 025726.

Examples

Run this code
checkNulls(defineNulls())

Run the code above in your browser using DataLab