Learn R Programming

MD2sample (version 1.0.0)

testC: run tests using either simulation or permutation.

Description

run tests using either simulation or permutation.

Usage

testC(dta, TS, typeTS, TSextra, B = 5000L)

Value

A list with test statistics and p values

Arguments

dta

a list with the data

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

B

=5000, number of simulation runs.