View source: R/math_functions.R
| to_centered_matrix | R Documentation |
Vector to centered matrix (RTMB compatible)
to_centered_matrix(x, R, C)
x |
A numeric vector of length (R-1) * C. |
R |
Number of rows. |
C |
Number of columns. |
An R x C matrix where each column sums to zero.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.