Inverts a marginal log-linear parametrization

Block diagonal concatenation of input arguments.

1 |

`...` |
Variable number of matrices |

A block diagonal matrix `diag(M1, M2, ...)`

.

Giovanni M. Marchetti

1 2 | ```
X <- c(1,1,2,2); Z <- c(10, 20, 30, 40); A <- factor(c(1,2,2,2))
blkdiag(model.matrix(~X+Z), model.matrix(~A))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.