powered by
This function compute a two way contingency table and make a flextable with the result.
proc_freq(x, row, col, main = "")
data.frame object
data.frame
characer column names for row
characer
characer column names for column
characer title
# NOT RUN { proc_freq(mtcars, "vs", "gear") proc_freq(mtcars, "gear", "vs") proc_freq(mtcars, "gear", "vs", "My title") # }
Run the code above in your browser using DataLab