tbl_propdiff.Rd
This function calculates the unadjusted or adjusted difference in rates with confidence interval.
A data frame
vector of binary outcome variables. Outcome variables can be numeric, character or factor, but must have two and only two non-missing levels
string indicating the binary stratifying variable. The stratifying variable can be numeric, character or factor, but must have two and only two non-missing levels
By default, "{y} ~ {x}"
. To include covariates for an adjusted
risk difference, add covariate names to the formula, e.g. "{y} ~ {x} + age"
List of formulas specifying variables labels, If a variable's label is
not specified here, the label attribute (attr(data$high_grade, "label")
) is used.
If attribute label is NULL
, the variable name will be used.
Statistics to display for each group. Default "{n} ({p}%)"
The method for calculating p-values and confidence intervals around the
difference in rates. The options are "chisq"
, "exact"
, "boot_centile"
,
and "boot_sd"
. See below for details. Default method is "chisq"
.
Confidence level of the returned confidence interval. Must be a single number between 0 and 1. The default is a 95% confidence interval.
The number of bootstrap resamples to use. The default is 2000
for "boot_centile"
and 200 for "boot_sd"
Function to round and format estimates. By default
style_sigfig
, but can take any formatting function
Function to round and format p-value. By default
style_pvalue
, but can take any formatting function
A tbl_propdiff
object, with sub-class "gtsummary"
The chisq
option returns a p-value from the prop.test
function and a
confidence interval for the unadjusted difference in proportions based on
the normal approximation.
The exact
option returns a p-value from the fisher.test
function. The
confidence interval returned by this option is the same as the confidence
interval returned by the chisq
option and is based on the normal approximation.
The boot_centile
option calculates the adjusted difference between groups
in all bootstrap samples (the default for this method is 2000 resamples)
and generates the confidence intervals from the distribution of these
differences. For the default, a 95% confidence interval, the 2.5 and 97.5
centiles are used. The p-value presented is from a logistic regression model.
The boot_sd
option calculates the adjusted difference between groups
in all bootstrap samples (the default for this method is 200 resamples).
The mean and standard deviation of the adjusted difference across all
resamples are calculated. The standard deviation is then used as the
standard error to calculate the confidence interval based on the true
adjusted difference. The p-value presented is from a logistic regression model.
tbl_propdiff(
data = trial,
y = "response",
x = "trt"
)
#> Warning: `tbl_propdiff()` was deprecated in hotfun 0.3.0.
#> Please use `gtsummary::add_difference()` instead.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
#> Warning: The `stat_by` argument of `modify_header()` is deprecated as of gtsummary 1.3.6.
#> Use `modify_header(update = all_stat_cols() ~ "**{level}**")` instead.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
#> <div id="ozxluiqaxe" style="overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>html {
#> font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
#> }
#>
#> #ozxluiqaxe .gt_table {
#> display: table;
#> border-collapse: collapse;
#> margin-left: auto;
#> margin-right: auto;
#> color: #333333;
#> font-size: 16px;
#> font-weight: normal;
#> font-style: normal;
#> background-color: #FFFFFF;
#> width: auto;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #A8A8A8;
#> border-right-style: none;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #A8A8A8;
#> border-left-style: none;
#> border-left-width: 2px;
#> border-left-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_heading {
#> background-color: #FFFFFF;
#> text-align: center;
#> border-bottom-color: #FFFFFF;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> border-bottom-color: #FFFFFF;
#> border-bottom-width: 0;
#> }
#>
#> #ozxluiqaxe .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
#> padding-top: 0;
#> padding-bottom: 6px;
#> border-top-color: #FFFFFF;
#> border-top-width: 0;
#> }
#>
#> #ozxluiqaxe .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_col_headings {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_col_heading {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: normal;
#> text-transform: inherit;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> vertical-align: bottom;
#> padding-top: 5px;
#> padding-bottom: 6px;
#> padding-left: 5px;
#> padding-right: 5px;
#> overflow-x: hidden;
#> }
#>
#> #ozxluiqaxe .gt_column_spanner_outer {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: normal;
#> text-transform: inherit;
#> padding-top: 0;
#> padding-bottom: 0;
#> padding-left: 4px;
#> padding-right: 4px;
#> }
#>
#> #ozxluiqaxe .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
#> #ozxluiqaxe .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
#> #ozxluiqaxe .gt_column_spanner {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> vertical-align: bottom;
#> padding-top: 5px;
#> padding-bottom: 5px;
#> overflow-x: hidden;
#> display: inline-block;
#> width: 100%;
#> }
#>
#> #ozxluiqaxe .gt_group_heading {
#> padding: 8px;
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: initial;
#> text-transform: inherit;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> vertical-align: middle;
#> }
#>
#> #ozxluiqaxe .gt_empty_group_heading {
#> padding: 0.5px;
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: initial;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> vertical-align: middle;
#> }
#>
#> #ozxluiqaxe .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
#> #ozxluiqaxe .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
#> #ozxluiqaxe .gt_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> margin: 10px;
#> border-top-style: solid;
#> border-top-width: 1px;
#> border-top-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> vertical-align: middle;
#> overflow-x: hidden;
#> }
#>
#> #ozxluiqaxe .gt_stub {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: initial;
#> text-transform: inherit;
#> border-right-style: solid;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> padding-left: 12px;
#> }
#>
#> #ozxluiqaxe .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #ozxluiqaxe .gt_first_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #ozxluiqaxe .gt_first_grand_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-style: double;
#> border-top-width: 6px;
#> border-top-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
#> #ozxluiqaxe .gt_table_body {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_footnotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 2px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding: 4px;
#> }
#>
#> #ozxluiqaxe .gt_sourcenotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 2px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #ozxluiqaxe .gt_sourcenote {
#> font-size: 90%;
#> padding: 4px;
#> }
#>
#> #ozxluiqaxe .gt_left {
#> text-align: left;
#> }
#>
#> #ozxluiqaxe .gt_center {
#> text-align: center;
#> }
#>
#> #ozxluiqaxe .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
#> #ozxluiqaxe .gt_font_normal {
#> font-weight: normal;
#> }
#>
#> #ozxluiqaxe .gt_font_bold {
#> font-weight: bold;
#> }
#>
#> #ozxluiqaxe .gt_font_italic {
#> font-style: italic;
#> }
#>
#> #ozxluiqaxe .gt_super {
#> font-size: 65%;
#> }
#>
#> #ozxluiqaxe .gt_footnote_marks {
#> font-style: italic;
#> font-weight: normal;
#> font-size: 65%;
#> }
#> </style>
#> <table class="gt_table">
#>
#> <thead class="gt_col_headings">
#> <tr>
#> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1"><strong>Characteristic</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>N</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>Drug B</strong><sup class="gt_footnote_marks">1</sup></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>Drug A</strong><sup class="gt_footnote_marks">1</sup></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>Difference</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>95% CI</strong><sup class="gt_footnote_marks">2</sup></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>p-value</strong></th>
#> </tr>
#> </thead>
#> <tbody class="gt_table_body">
#> <tr><td class="gt_row gt_left">response</td>
#> <td class="gt_row gt_center">193</td>
#> <td class="gt_row gt_center">33 (34%)</td>
#> <td class="gt_row gt_center">28 (29%)</td>
#> <td class="gt_row gt_center">4.2%</td>
#> <td class="gt_row gt_center">-8.9%, 17%</td>
#> <td class="gt_row gt_center">0.5</td></tr>
#> </tbody>
#>
#> <tfoot>
#> <tr class="gt_footnotes">
#> <td colspan="7">
#> <p class="gt_footnote">
#> <sup class="gt_footnote_marks">
#> <em>1</em>
#> </sup>
#>
#> n (%)
#> <br />
#> </p>
#> <p class="gt_footnote">
#> <sup class="gt_footnote_marks">
#> <em>2</em>
#> </sup>
#>
#> CI = Confidence Interval
#> <br />
#> </p>
#> </td>
#> </tr>
#> </tfoot>
#> </table>
#> </div>
tbl_propdiff(
data = trial,
y = "response",
x = "trt",
formula = "{y} ~ {x} + age + stage",
method = "boot_sd",
bootstrapn = 25
)
#> <div id="fvkweghtrr" style="overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>html {
#> font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
#> }
#>
#> #fvkweghtrr .gt_table {
#> display: table;
#> border-collapse: collapse;
#> margin-left: auto;
#> margin-right: auto;
#> color: #333333;
#> font-size: 16px;
#> font-weight: normal;
#> font-style: normal;
#> background-color: #FFFFFF;
#> width: auto;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #A8A8A8;
#> border-right-style: none;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #A8A8A8;
#> border-left-style: none;
#> border-left-width: 2px;
#> border-left-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_heading {
#> background-color: #FFFFFF;
#> text-align: center;
#> border-bottom-color: #FFFFFF;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> border-bottom-color: #FFFFFF;
#> border-bottom-width: 0;
#> }
#>
#> #fvkweghtrr .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
#> padding-top: 0;
#> padding-bottom: 6px;
#> border-top-color: #FFFFFF;
#> border-top-width: 0;
#> }
#>
#> #fvkweghtrr .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_col_headings {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_col_heading {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: normal;
#> text-transform: inherit;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> vertical-align: bottom;
#> padding-top: 5px;
#> padding-bottom: 6px;
#> padding-left: 5px;
#> padding-right: 5px;
#> overflow-x: hidden;
#> }
#>
#> #fvkweghtrr .gt_column_spanner_outer {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: normal;
#> text-transform: inherit;
#> padding-top: 0;
#> padding-bottom: 0;
#> padding-left: 4px;
#> padding-right: 4px;
#> }
#>
#> #fvkweghtrr .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
#> #fvkweghtrr .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
#> #fvkweghtrr .gt_column_spanner {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> vertical-align: bottom;
#> padding-top: 5px;
#> padding-bottom: 5px;
#> overflow-x: hidden;
#> display: inline-block;
#> width: 100%;
#> }
#>
#> #fvkweghtrr .gt_group_heading {
#> padding: 8px;
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: initial;
#> text-transform: inherit;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> vertical-align: middle;
#> }
#>
#> #fvkweghtrr .gt_empty_group_heading {
#> padding: 0.5px;
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: initial;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> vertical-align: middle;
#> }
#>
#> #fvkweghtrr .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
#> #fvkweghtrr .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
#> #fvkweghtrr .gt_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> margin: 10px;
#> border-top-style: solid;
#> border-top-width: 1px;
#> border-top-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 1px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 1px;
#> border-right-color: #D3D3D3;
#> vertical-align: middle;
#> overflow-x: hidden;
#> }
#>
#> #fvkweghtrr .gt_stub {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
#> font-weight: initial;
#> text-transform: inherit;
#> border-right-style: solid;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> padding-left: 12px;
#> }
#>
#> #fvkweghtrr .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #fvkweghtrr .gt_first_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #fvkweghtrr .gt_first_grand_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-style: double;
#> border-top-width: 6px;
#> border-top-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
#> #fvkweghtrr .gt_table_body {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_footnotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 2px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding: 4px;
#> }
#>
#> #fvkweghtrr .gt_sourcenotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> border-left-style: none;
#> border-left-width: 2px;
#> border-left-color: #D3D3D3;
#> border-right-style: none;
#> border-right-width: 2px;
#> border-right-color: #D3D3D3;
#> }
#>
#> #fvkweghtrr .gt_sourcenote {
#> font-size: 90%;
#> padding: 4px;
#> }
#>
#> #fvkweghtrr .gt_left {
#> text-align: left;
#> }
#>
#> #fvkweghtrr .gt_center {
#> text-align: center;
#> }
#>
#> #fvkweghtrr .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
#> #fvkweghtrr .gt_font_normal {
#> font-weight: normal;
#> }
#>
#> #fvkweghtrr .gt_font_bold {
#> font-weight: bold;
#> }
#>
#> #fvkweghtrr .gt_font_italic {
#> font-style: italic;
#> }
#>
#> #fvkweghtrr .gt_super {
#> font-size: 65%;
#> }
#>
#> #fvkweghtrr .gt_footnote_marks {
#> font-style: italic;
#> font-weight: normal;
#> font-size: 65%;
#> }
#> </style>
#> <table class="gt_table">
#>
#> <thead class="gt_col_headings">
#> <tr>
#> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1"><strong>Characteristic</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>N</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>Drug B</strong><sup class="gt_footnote_marks">1</sup></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>Drug A</strong><sup class="gt_footnote_marks">1</sup></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>Adjusted Difference</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>95% CI</strong><sup class="gt_footnote_marks">2</sup></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1"><strong>p-value</strong></th>
#> </tr>
#> </thead>
#> <tbody class="gt_table_body">
#> <tr><td class="gt_row gt_left">response</td>
#> <td class="gt_row gt_center">193</td>
#> <td class="gt_row gt_center">33 (34%)</td>
#> <td class="gt_row gt_center">28 (29%)</td>
#> <td class="gt_row gt_center">2.6%</td>
#> <td class="gt_row gt_center">-8.9%, 14%</td>
#> <td class="gt_row gt_center">0.7</td></tr>
#> </tbody>
#>
#> <tfoot>
#> <tr class="gt_footnotes">
#> <td colspan="7">
#> <p class="gt_footnote">
#> <sup class="gt_footnote_marks">
#> <em>1</em>
#> </sup>
#>
#> n (%)
#> <br />
#> </p>
#> <p class="gt_footnote">
#> <sup class="gt_footnote_marks">
#> <em>2</em>
#> </sup>
#>
#> CI = Confidence Interval
#> <br />
#> </p>
#> </td>
#> </tr>
#> </tfoot>
#> </table>
#> </div>