Learn R Programming

MCMCglmm (version 2.36)

path: Design Matrix for Path Analyses

Description

Forms design matrix for path analyses that involve paths within residual blocks

Usage

path(cause=NULL, effect=NULL, k)

Value

design matrix

Arguments

cause

integer; index of predictor `trait' within residual block

effect

integer; index of response `trait' within residual block

k

integer; dimension of residual block

Author

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

sir

Examples

Run this code
path(1, 2,2)

Run the code above in your browser using DataLab