umx_is_MxData: Check if an object is an mxData object

umx_is_MxDataR Documentation

Check if an object is an mxData object

Description

Is the input an MxData?

Usage

umx_is_MxData(x)

Arguments

x

An object to test for being an MxData object

Value

- Boolean

References

- <https://github.com/tbates/umx>

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_MxMatrix(), umx_is_MxModel(), umx_is_RAM(), umx_is_cov()

Examples

umx_is_MxData(mtcars)
umx_is_MxData(mxData(mtcars, type= "raw"))
umx_is_MxData(mxData(cov(mtcars), type= "cov", numObs = 73))
umx_is_MxData(mxDataWLS(na.omit(twinData[, c("wt1", "wt2")]), type= "WLS"))

umx documentation built on May 29, 2024, 5:40 a.m.