Learn R Programming

metricTester (version 1.3.6)

defineNulls: Output all null models as a list of named functions

Description

Creates a list of named functions, each of which accept a nulls.input object

Usage

defineNulls()

Arguments

Value

A list of named functions

Details

All of the null models we calculated for our manuscript are included in this function. To add additional null model functions, they can either be defined on the fly or to permanently include a new model in all downstream simulations, it can be included here. The function needs to be included with a name, and it must accept a nulls.input object. If the function needs additional elements not included in that input, then the prepNulls function must also be revised.

References

Miller, E. T., D. R. Farine, and C. H. Trisos. 2016. Phylogenetic community structure metrics and null models: a review with new methods and software. Ecography DOI: 10.1111/ecog.02070

Examples

Run this code
# NOT RUN {
defineNulls()
# }

Run the code above in your browser using DataLab