Learn R Programming

metricTester (version 1.2.2)

sesSingle: Summary of results from a single iteration

Description

Use Wilcoxon signed rank test to determine whether plots from a SINGLE iteration differ from expectations

Usage

sesSingle(single.iteration, concat.by)

Arguments

single.iteration
The results of a single iteration from multiLinker.
concat.by
Whether randomizations were concatenated by richness, plot or both.

Value

A data frame summarizing the mean of standardized effect sizes and the significance of those devations from expectations for a given iteration (e.g. the plots from a given arena). It does consider all spatial simulations, nulls and metrics from that iteration. This test works across a single iteration, and will generally not be used by itself; it is called by sesIndiv.

Details

This function uses a Wilcoxon signed rank test to determine whether the plots from a spatial simulation/null/metric from a SINGLE iteration differ from expectations. Assuming there are three spatial simulations named random, filtering, and competition, this function will use two.sided, lesser and greater Wilcoxon tests, respectively.

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
#not run
#results <- readIn()
#summ <- sesSingle(results[[1]], "richness")

Run the code above in your browser using DataLab