
test if a data frame or matrix is cov or cor data, or is likely to be raw...
umx_is_cov(data = NULL, boolean = FALSE, verbose = FALSE)
dataframe to test
whether to return the type ("cov") or a boolean (default = string)
How much feedback to give (default = FALSE)
- "raw", "cor", or "cov", or, if boolean= T, then T | F
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
,
umx_is_endogenous
,
umx_is_exogenous
,
umx_is_ordered
# NOT RUN {
df = cov(mtcars)
umx_is_cov(df)
df = cor(mtcars)
umx_is_cov(df)
umx_is_cov(df, boolean = TRUE)
umx_is_cov(mtcars, boolean = TRUE)
# }
Run the code above in your browser using DataLab