View source: R/gt_measures_colgrp.R
gt_measures_colgrp | R Documentation |
Create a table of effect-measure modifications with their CI.
gt_measures_colgrp(
df,
var_grp = "group",
digits = 3,
title = "Title",
subtitle = "Subtitle"
)
df |
Dataframe of results. |
var_grp |
Name of variable used to group the columns. |
digits |
Integer, number of digits to the right of the decimal. |
title |
The title of the table. |
subtitle |
Subtitle of the table. |
The table will have 3 columns for each of the 2 strata and the difference column. The measure name, the estimates and the confidence interval.
A gt_tbl
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.