View source: R/math_functions.R
| to_centered_tri | R Documentation |
Vector to centered triangular matrix (RTMB compatible)
to_centered_tri(x, R, C)
x |
A numeric vector of appropriate length. |
R |
Number of rows. |
C |
Number of columns. |
An R x C matrix with column-wise sum-to-zero constraints on lower elements.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.