Learn R Programming

metricTester (version 1.2.2)

checkSimulations: Confirm that the spatial simulation functions are in suitable format

Description

Utility function. Creates a list of spatial simulations, either those defined in defineSimulations or a named list of simulation functions.

Usage

checkSimulations(x)

Arguments

x
Optional named list of spatial simulation functions. Else, defines the spatial simulations as those in defineSimulations.

Value

A list of functions.

Details

A few quick checks to confirm the spatial simulations are 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
checkSimulations(defineSimulations())

Run the code above in your browser using DataLab