umx_is_MxMatrix: umx_is_MxMatrix

umx_is_MxMatrixR Documentation

umx_is_MxMatrix

Description

Utility function returning a binary answer to the question "Is this an OpenMx mxMatrix?"

Usage

umx_is_MxMatrix(obj)

Arguments

obj

an object to be tested to see if it is an OpenMx mxMatrix()

Value

  • Boolean

References

See Also

Other Test: umx_check_OS(), umx_check_model(), umx_check_names(), umx_check_parallel(), umx_check(), umx_has_CIs(), umx_has_been_run(), umx_has_means(), umx_has_square_brackets(), umx_is_MxData(), umx_is_MxModel(), umx_is_RAM(), umx_is_cov()

Examples

x = mxMatrix(name = "eg", type = "Full", nrow = 3, ncol = 3, values = .3)
if(umx_is_MxMatrix(x)){
	message("nice OpenMx matrix!")
}

tbates/umx documentation built on March 16, 2024, 4:26 a.m.