umx_lower.tri: Get values from lower triangle of a matrix

umx_lower.triR Documentation

Get values from lower triangle of a matrix

Description

umx_lower.tri is a wrapper for lower.tri() and a selection to return values from a lower matrix in one step.

Usage

umx_lower.tri(x, diag = FALSE)

Arguments

x

a matrix() from which to extract values.

diag

whether to include the diagonal (default = FALSE).

Value

  • values of cells of the lower triangle.

See Also

  • lower.tri()

Other Miscellaneous Utility Functions: install.OpenMx(), libs(), qm(), umx, umxLav2RAM(), umxModelNames(), umxRAM2Lav(), umxVersion(), umx_array_shift(), umx_find_object(), umx_msg(), umx_open_CRAN_page(), umx_pad(), umx_print()

Examples

x = qm(1,2,3|4,5,6|7,8,9)
umx_lower.tri(x)
# 4,7,8
umx_lower.tri(x, diag=TRUE) # 1 4 7 5 8 9


tbates/umx documentation built on Dec. 14, 2024, 11:28 a.m.