struct_test: Semiparametric test of structural dependence

Description Usage Arguments

View source: R/struct_test.R

Description

Semiparametric test of structural dependence

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
struct_test(x, y, stat, R, mc.cores = 1L, verbose = TRUE,
  alternative = "two.sided", ...)

## S3 method for class 'ergmito'
struct_test(x, y, stat, R, mc.cores = 1L,
  verbose = TRUE, alternative = "two.sided", ...)

## S3 method for class 'list'
struct_test(x, y, stat, R, mc.cores = 1L,
  verbose = TRUE, alternative = "two.sided", ergmito.args = list(),
  ...)

## S3 method for class 'formula'
struct_test(x, y, stat, R, mc.cores = 1L,
  verbose = TRUE, alternative = "two.sided", ergmito.args = list(),
  ...)

## S3 method for class 'gnet_struct_test'
print(x, ...)

Arguments

x

Either a model, or an ergmito::ergmito fit.

y

A numeric vector of length length(x)

stat

Function that receives two arguments, a list of networks and a vector of the same length.

R

Integer. Number of replicates.

mc.cores

Passed to parallel::mclapply.

verbose

Logical. When TRUE, shows information during the execution.

alternative

String character, either "two.sided", "smaller", or "greater".

...

(Ignored)

ergmito.args

A list with arguments passed to ergmito::ergmito.


muriteams/gnet documentation built on Aug. 17, 2019, 7:27 p.m.