perm_test_cont {R2sample}R Documentation

run permutation test.

Description

run permutation test.

Usage

perm_test_cont(x, y, TS, typeTS, TSextra, wx, wy, B = 5000L)

Arguments

x

a numeric vector.

y

a numeric vector.

TS

routine to calculate test statistics for non-chi-square tests

typeTS

type of a test statistic

TSextra

additional info passed to TS, if necessary

wx

a numeric vector of weights of x.

wy

a numeric vector of weights of y.

B

=5000, number of simulation runs.

Value

A list with test statistics and p values


[Package R2sample version 2.2.0 Index]