Helper for correlation-matrix summarize output.
.full_to_lower_tri(x, string = FALSE)Charactor vector (if string is TRUE) or integer vector.
Integer. Dimension of matrix.
Logical (Default: FALSE). Whether to return strings (e.g., [2,1], or row indices, assuming column-major ordering.)
Stephen R. Martin
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.