This function uses the any_discrete and only_discrete functions to isolate discrete variables, whereby it uses the custom tableNominal2 function to create a LaTeX table of descriptive statistics
1 2 | discrete_table(dvars, maxlevels = 20, ..., verbose = FALSE,
forcegvar = FALSE, varSizeN = "0.15", levSizeN = "0.05")
|
dvars |
Data frame containing the variables to be tested |
maxlevels |
Numeric containing the maximum amount of levels |
... |
Arguments passed down from the calling function |
verbose |
Logical to display function messages |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.