create_simple_table | R Documentation |
Creates a simple text-based summary table that doesn't require kableExtra.
create_simple_table(results, title = "Risk Difference Results")
results |
Results tibble from calc_risk_diff() |
title |
Optional title for the table |
A formatted character vector representing the table
data(cachar_sample)
results <- calc_risk_diff(cachar_sample, "abnormal_screen", "smoking")
cat(create_simple_table(results))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.