Learn R Programming

r2glmm (version 0.1.1)

make.partial.C: 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

Run this code
# NOT RUN {
make.partial.C(4, 5, 2)
make.partial.C(4, 5, 3)
make.partial.C(4, 5, 2:4)
# }

Run the code above in your browser using DataLab