powered by
Creates a simple text-based summary table that doesn't require kableExtra.
create_simple_table(results, title = "Risk Difference Results")
A formatted character vector representing the table
Results tibble from calc_risk_diff()
Optional title for the table
data(cachar_sample) results <- calc_risk_diff(cachar_sample, "abnormal_screen", "smoking") cat(create_simple_table(results))
Run the code above in your browser using DataLab