permute_discrete {gTests}R Documentation

Generate a permutation for two discrete data groups

Description

This function permutes the observations maintaining the two sample sizes unchaged.

Usage

permute_discrete(vmat)

Arguments

vmat

A K by 2 matrix, where K is the number of distinct values with at least one observation in either group. It specifies the counts in the K distinct values for the two samples.

See Also

g.tests_discrete


[Package gTests version 0.2 Index]