ant: ANT diagnostic for permuted statistics

Description Usage Arguments Value Author(s) Examples

Description

ANT method to make a diagnostic of all ANT permutation tests. This method adapts the diagnostic results according to the data input. The output is adapted to the type of test run. However, some outputs are common to all tests.

Usage

1
ant(x)

Arguments

x

an ANT object from functions: stat.t, stat.c, stat.lm, stat.glm, stat.glmm pr a numeric vector or a data frame with only numeric values.

Value

A list of two elements fot stat.cor, stat.t functions:

#' A list of four elements fot stat.lm, stat.glm, stat.glmm functions:

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.

Examples

1
2
3
4
t=met.strength(sim.m,sim.df,1) # Computing network metric
t=perm.net.nl(t,labels='age',rf=NULL,nperm=10,progress=FALSE) # Node label permutations
r.c=stat.cor(t,'age','strength',progress=FALSE) # Permuted correlation test
r=ant(r.c)

SebastianSosa/ant documentation built on Dec. 5, 2018, 2:24 a.m.