Learn R Programming

umx (version 4.20.0)

umx_is_MxData: Check if an object is an mxData object

Description

Is the input an MxData?

Usage

umx_is_MxData(x)

Value

- Boolean

Arguments

x

An object to test for being an MxData object

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

Run this code
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"))

Run the code above in your browser using DataLab