makeCompMat: A function to create a pairwise comparison matrix

Description Usage Arguments Value See Also Examples

Description

This function creates a pairwise comparison matrix for n groups. All possible pairwise combinations are created, with rows in the matrix equal to the desired comparison.

Usage

1

Arguments

ng

A single number indicating the total number of unique groups

Value

Returns a matrix with two columns and ng choose 2 rows.

See Also

PermuteLDA

Examples

1
2
3
4
5
6
7
8


Search within the multiDimBio package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.