h_0_f: Data-generating function under the null hypothesis

View source: R/data_gen.R

h_0_fR Documentation

Data-generating function under the null hypothesis

Description

Data-generating function under the null hypothesis

Usage

h_0_f(
  n = rep(5, 5),
  m = NULL,
  dist = "norm",
  corstruct = "independent",
  rho = NULL,
  rho.max = NULL,
  params = list(mean = 0, sd = 1)
)

Arguments

n

Vector of sample sizes

m

Vector of cluster sizes, defaults to sample size

dist

Distribution under the null, defaults to normal

corstruct

Type of correlation (string), defaults to "independent". Alternatives are "exchangeable" and "wild"

rho

Fixed correlation, defaults to NULL

rho.max

In case of no fixed correlation, specifies the maximal correlation, defaults to NULL

params

List of params necessary for the distribution specified in dist, defaults to standard normal

Value

Returns a list of lists with the data


spruenke/rankCluster documentation built on June 16, 2022, 9:47 a.m.