dot-full_to_lower_tri: Get indices for subsetting lower-tri summaries of square...

Description Usage Arguments Details Value Author(s)

Description

Helper for correlation-matrix summarize output.

Usage

1

Arguments

x

Integer. Dimension of matrix.

string

Logical (Default: FALSE). Whether to return strings (e.g., [2,1], or row indices, assuming column-major ordering.)

Details

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.

Value

Charactor vector (if string is TRUE) or integer vector.

Author(s)

Stephen R. Martin


LMMELSM documentation built on March 13, 2021, 5:06 p.m.