create_simple_table {riskdiff}R Documentation

Create a Simple Summary Table

Description

Creates a simple text-based summary table that doesn't require kableExtra.

Usage

create_simple_table(results, title = "Risk Difference Results")

Arguments

results

Results tibble from calc_risk_diff()

title

Optional title for the table

Value

A formatted character vector representing the table

Examples

data(cachar_sample)
results <- calc_risk_diff(cachar_sample, "abnormal_screen", "smoking")
cat(create_simple_table(results))


[Package riskdiff version 0.2.1 Index]