plusMinusIndSwap: Duplicates 'plusMinus' but using the independent swap...

View source: R/plusMinusIndSwap.R

plusMinusIndSwapR Documentation

Duplicates plusMinus but using the independent swap algorithm from {picante}

Description

Duplicates plusMinus but using the independent swap algorithm from {picante}

Usage

plusMinusIndSwap(x, alpha = 0.05, B = 999)

Arguments

x

site by species matrix (sites as rows, species as columns, abundances in cells)

alpha

the significance level

B

number of replicates for the null model permutations

Details

All details are the same as plusMinus but this function uses the independent swap algorithm from {picante} instead of the fixed-fixed null algorithm. This function is only really intended to be used with indSwapTest.

Value

an ncol(x) by ncol(x) matrix of species-species similarities

Author(s)

Andy Rominger <ajrominger@gmail.com>


ajrominger/ssadAssociation documentation built on Sept. 29, 2023, 4:43 a.m.