Given *q* univariate design matrices, the function
`mkMvX`

creates a multivariate design matrix suitable for use in `spPredict`

.

1 | ```
mkMvX(X)
``` |

`X` |
a list of |

A multivariate design matrix suitable for use in `spPredict`

.

Andrew O. Finley finleya@msu.edu,

Sudipto Banerjee sudiptob@biostat.umn.edu.

1 2 3 4 5 6 7 8 9 10 11 12 | ```
## Not run:
##Define some univariate model design matrices
##with intercepts.
X.1 <- cbind(rep(1, 10), matrix(rnorm(50), nrow=10))
X.2 <- cbind(rep(1, 10), matrix(rnorm(20), nrow=10))
X.3 <- cbind(rep(1, 10), matrix(rnorm(30), nrow=10))
##Make a multivariate design matrix suitable
##for use in spPredict.
X.mv <- mkMvX(list(X.1, X.2, X.3))
## End(Not run)
``` |

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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.