test.assoc: Significance test for network statistics of the association...

Description Usage Arguments Value

Description

Test whether a network statistic of an association matrix is significantly different than the mean of the network statistic for the random graphs.

Usage

1
test.assoc(assoc, rgraphs, FUN = net.density, ...)

Arguments

assoc

A n X n association matrix

rgraphs

A list object returned by randomGraphs

FUN

a function to calculate a network statistic. The function should return a singular numeric value for which a mean and standard deviation can be calculated.

...

Additional arguments to pass to FUN

Value

A list containing the following values:

value

the value of the test statistic for assoc

random.value

the mean value of the test statistic for all random graphs in rgraphs

sd.value

the standard deviation of random.value

p.up

the percentage of random graphs with values higher than value

p.down

the percentage of random graphs with values lower than value


thom82/whassocr documentation built on May 31, 2019, 10:46 a.m.