path | R Documentation |
Forms design matrix for path analyses that involve paths within residual blocks
path(cause=NULL, effect=NULL, k)
cause |
integer; index of predictor ‘trait’ within residual block |
effect |
integer; index of response ‘trait’ within residual block |
k |
integer; dimension of residual block |
design matrix
For more general path anlaytic models see sir which allows paths to exist between responses that are not in the same residual block. However, sir
does not handle non-Gaussian or missing responses. Note that path models involving non-Gaussian data are defined on the link scale which may not always be appropriate.
Jarrod Hadfield j.hadfield@ed.ac.uk
sir
path(1, 2,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.