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

Description Usage Arguments Details Value Author(s)

View source: R/plusMinusIndSwap.R

Description

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

Usage

1
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/RarePlusComMinus documentation built on June 27, 2021, 9:25 p.m.