.full_to_lower_tri | R Documentation |
Helper for correlation-matrix summarize output.
.full_to_lower_tri(x, string = FALSE)
x |
Integer. Dimension of matrix. |
string |
Logical (Default: FALSE). Whether to return strings (e.g., |
The .summarize function returns every redundant and constant element from a correlation matrix.
This function returns the stan-strings (when string = TRUE
, e.g., [2,1]
, [3,1]
), or the row-index assuming column-major order.
Charactor vector (if string
is TRUE) or integer vector.
Stephen R. Martin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.