
Checks across columns of a dataframe, return a vector of TRUE and FALSE, or, if all ==TRUE, a single binary (the default).
umx_is_numeric(df, all = TRUE)
A dataframe to check
Whether to return a single all() Boolean or each column individually.
- Boolean or Boolean vector
Other Miscellaneous Functions: install.OpenMx
,
umx_get_options
,
umx_is_class
,
umx_open_CRAN_page
, umx_pad
,
xmu_twin_check
# NOT RUN {
umx_is_numeric(mtcars) # TRUE
umx_is_numeric(mtcars, all=FALSE) # vector of TRUE
# }
Run the code above in your browser using DataLab