make.partial.C: Generate partial contrast matrices

Description Usage Arguments Value Examples

View source: R/mpc_Function.R

Description

Generate partial contrast matrices

Usage

1
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

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

r2glmm documentation built on May 1, 2019, 9:09 p.m.