R: Commutation Matrix

commutation {MCMCglmm} | R Documentation

## Commutation Matrix

### Description

Forms an mn x mn commutation matrix which transforms vec(A) into vec(A'), where A is an m x n matrix

### Usage

    commutation(m, n)

### Arguments

`m` | integer; number of rows of A
`n` | integer; number of columns of A

### Value

`` | Commutation Matrix

### Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

### References

Magnus, J. R. & Neudecker, H. (1979) Annals of Statistics 7 (2) 381-394

### Examples

    commutation(2,2)

[Package MCMCglmm version 2.32 Index]