permNullTest: Permutation null distribution

Description Usage Arguments

View source: R/multiFit.R

Description

Simulate a permutation null distribution (per input data and testing parameters) for the global test statistics. See vignettes for examples of usage.

Usage

1
2
3
permNullTest(perm.null.sim = 10000L, xy, x = x, y = y, fit,
  parts = 4L, save.perm.null = FALSE, perm.null.fname = NULL,
  verbose = FALSE)

Arguments

perm.null.sim

Positive integer, the number of simulated values to be computed when a permutation null distribution is simulated.

xy

A list, whose first element corresponds to the matrix x as below, and its second element corresponds to the matrix y as below. If xy is not specified, x and y need to be assigned.

x

A matrix, number of columns = dimension of random vector, number of rows = number of observations.

y

A matrix, number of columns = dimension of random vector, number of rows = number of observations.

fit

An object generated by multiFit.

parts

Positive integer, divide computation to four parts. Useful for getting a sense of progress (when verbose=TRUE) or for distributing memory requirement.

save.perm.null

Logical, if TRUE, save the permutation null into an RData file named perm.null.fname

perm.null.fname

String, file name to which to save an RData file containing the permutation null if save.perm.null=TRUE.

verbose

Logical.


MaStatLab/MultiFit documentation built on Jan. 11, 2020, 5:11 p.m.