umx_is_cov | R Documentation |
test if a data frame, matrix or mxData is type cov or cor, or is likely to be raw...
umx_is_cov(data = NULL, boolean = FALSE, verbose = FALSE)
data |
dataframe to test |
boolean |
whether to return the type ("cov") or a boolean (default = string) |
verbose |
How much feedback to give (default = FALSE) |
- "raw", "cor", or "cov", (or if boolean, then T | F)
- <https://github.com/tbates/umx>
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_MxMatrix()
,
umx_is_MxModel()
,
umx_is_RAM()
df = cov(mtcars)
umx_is_cov(df)
df = cor(mtcars)
umx_is_cov(df)
umx_is_cov(mxData(df[1:3,1:3], type= "cov", numObs = 200))
umx_is_cov(df, boolean = TRUE)
umx_is_cov(mtcars, boolean = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.