get_data_types.Rd
Computes the frequency of each data type in the provided (X, y) data and returns an html or latex table with this information.
get_data_types(X, y, html = knitr::is_html_output(), ...)
Data matrix or data frame.
Response vector.
Logical indicating whether or not the output is an html table or a latex table.
Additional arguments to pass to vthemes::pretty_DT() if
html = TRUE
or vthemes::pretty_kable() if html = FALSE
.
Returns an html table (i.e., the output of vthemes::pretty_DT()) or a latex table (i.e., the output of vthemes::pretty_kable()), containing the frequency of each data type in the given (X, y) data.