AllContrasts: Constructs a matrix with all the contrasts for pairwise...

Description Usage Arguments Details Value Author(s) Examples

View source: R/AuxiliarFunctions.R

Description

Constructs a matrix with all the contrasts for pairwise comparisons.

Usage

1

Arguments

n

an integer number larger than 1 giving the number of contrasts defining the pairwise comparisons pairwise comparisons.

Details

This is an auxiliar function forming a contrast matrix of all possible. Generates an error if n is smaller than 2.

Value

a matrix of dimension n(n-1)/2 x n.

Author(s)

Rodrigo Labouriau

Examples

1

postHoc documentation built on July 1, 2020, 7:22 p.m.