mvtest: Permutation test of F == G based on first two moments To be...

Description Usage Arguments Examples

View source: R/mvtest.R

Description

Permutation test of F == G based on first two moments To be replaced by Rcpp version

Usage

1
mvtest(x, y, n.reps = 1000, seed = NA, fullOut = FALSE)

Arguments

x

(n1 x p) data matrix

y

(n2 x p) data matrix

n.reps

number of replications

Examples

1
2
3
4
5
n <- 20
p <- 3
x <- MASS::mvrnorm(n, rep(0, p), diag(rep(1, p)))
y <- MASS::mvrnorm(n, rep(0.1, p), diag(rep(1, p)))
mvtest(x, y, 1e3)

snarles/testUtils documentation built on May 30, 2019, 5:05 a.m.