make.partial.C {r2glmm}R Documentation

Generate partial contrast matrices

Description

Generate partial contrast matrices

Usage

make.partial.C(rows, cols, index)

Arguments

rows

Number of rows in the contrast matrix

cols

Number of columns in the contrast matrix

index

A number corresponding to the position of the fixed effect in the vector of fixed effect parameter estimates.

Value

A contrast matrix designed to test the fixed effect corresponding to index in the vector of fixed effects.

Examples

make.partial.C(4, 5, 2)
make.partial.C(4, 5, 3)
make.partial.C(4, 5, 2:4)

[Package r2glmm version 0.1.2 Index]