Summarise a data.frame as gtsummary
with Dutch defaults. These objects are based on the gt
package by RStudio. To provide Certe style and compatibility with MS Word, use tbl_flextable()
to transform the gtsummary
object.
A column name (quoted or unquoted) in data
.
Summary statistics will be calculated separately for each level of the by
variable (e.g. by = trt
). If NULL
, summary statistics
are calculated using all observations. To stratify a table by two or more
variables, use tbl_strata()
List of formulas specifying variables labels,
e.g. list(age ~ "Age", stage ~ "Path T Stage")
. If a
variable's label is not specified here, the label attribute
(attr(data$age, "label")
) is used. If
attribute label is NULL
, the variable name will be used.
List of formulas specifying the number of decimal
places to round summary statistics. If not specified,
tbl_summary
guesses an appropriate number of decimals to round statistics.
When multiple statistics are displayed for a single variable, supply a vector
rather than an integer. For example, if the
statistic being calculated is "{mean} ({sd})"
and you want the mean rounded
to 1 decimal place, and the SD to 2 use digits = list(age ~ c(1, 2))
. User
may also pass a styling function: digits = age ~ style_sigfig
Arguments passed on to gtsummary::tbl_summary()
the language to use, defaults to Dutch
name to use for the first column
add the overall N using gtsummary::add_n()
add the p values gtsummary::add_p()
(tests will be determined automatcally)
add the confidence interval using gtsummary::add_ci()
add the overall statistics using gtsummary::add_overall()
decimal separator, defaults to dec_mark()
thousands separator, defaults to big_mark()
tbl_gtsummary()
creates a summary table with gtsummary::tbl_summary()
, to which different extra columns can be added e.g. with add_p = TRUE
and add_overall = TRUE
.
# These examples default to the Dutch language
iris |>
tbl_gtsummary()
#> <div id="qnkvjkybyi" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>#qnkvjkybyi table {
#> font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
#> -webkit-font-smoothing: antialiased;
#> -moz-osx-font-smoothing: grayscale;
#> }
#>
#> #qnkvjkybyi thead, #qnkvjkybyi tbody, #qnkvjkybyi tfoot, #qnkvjkybyi tr, #qnkvjkybyi td, #qnkvjkybyi th {
#> border-style: none;
#> }
#>
#> #qnkvjkybyi p {
#> margin: 0;
#> padding: 0;
#> }
#>
#> #qnkvjkybyi .gt_table {
#> display: table;
#> border-collapse: collapse;
#> line-height: normal;
#> 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;
#> }
#>
#> #qnkvjkybyi .gt_caption {
#> padding-top: 4px;
#> padding-bottom: 4px;
#> }
#>
#> #qnkvjkybyi .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-color: #FFFFFF;
#> border-bottom-width: 0;
#> }
#>
#> #qnkvjkybyi .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
#> padding-top: 3px;
#> padding-bottom: 5px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-color: #FFFFFF;
#> border-top-width: 0;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
#> #qnkvjkybyi .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
#> #qnkvjkybyi .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%;
#> }
#>
#> #qnkvjkybyi .gt_spanner_row {
#> border-bottom-style: hidden;
#> }
#>
#> #qnkvjkybyi .gt_group_heading {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> 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;
#> text-align: left;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
#> #qnkvjkybyi .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .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: 5px;
#> padding-right: 5px;
#> }
#>
#> #qnkvjkybyi .gt_stub_row_group {
#> 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: 5px;
#> padding-right: 5px;
#> vertical-align: top;
#> }
#>
#> #qnkvjkybyi .gt_row_group_first td {
#> border-top-width: 2px;
#> }
#>
#> #qnkvjkybyi .gt_row_group_first th {
#> border-top-width: 2px;
#> }
#>
#> #qnkvjkybyi .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #qnkvjkybyi .gt_first_summary_row {
#> border-top-style: solid;
#> border-top-color: #D3D3D3;
#> }
#>
#> #qnkvjkybyi .gt_first_summary_row.thick {
#> border-top-width: 2px;
#> }
#>
#> #qnkvjkybyi .gt_last_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #qnkvjkybyi .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .gt_last_grand_summary_row_top {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: double;
#> border-bottom-width: 6px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #qnkvjkybyi .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #qnkvjkybyi .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;
#> }
#>
#> #qnkvjkybyi .gt_sourcenote {
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #qnkvjkybyi .gt_left {
#> text-align: left;
#> }
#>
#> #qnkvjkybyi .gt_center {
#> text-align: center;
#> }
#>
#> #qnkvjkybyi .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
#> #qnkvjkybyi .gt_font_normal {
#> font-weight: normal;
#> }
#>
#> #qnkvjkybyi .gt_font_bold {
#> font-weight: bold;
#> }
#>
#> #qnkvjkybyi .gt_font_italic {
#> font-style: italic;
#> }
#>
#> #qnkvjkybyi .gt_super {
#> font-size: 65%;
#> }
#>
#> #qnkvjkybyi .gt_footnote_marks {
#> font-size: 75%;
#> vertical-align: 0.4em;
#> position: initial;
#> }
#>
#> #qnkvjkybyi .gt_asterisk {
#> font-size: 100%;
#> vertical-align: 0;
#> }
#>
#> #qnkvjkybyi .gt_indent_1 {
#> text-indent: 5px;
#> }
#>
#> #qnkvjkybyi .gt_indent_2 {
#> text-indent: 10px;
#> }
#>
#> #qnkvjkybyi .gt_indent_3 {
#> text-indent: 15px;
#> }
#>
#> #qnkvjkybyi .gt_indent_4 {
#> text-indent: 20px;
#> }
#>
#> #qnkvjkybyi .gt_indent_5 {
#> text-indent: 25px;
#> }
#> </style>
#> <table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
#> <thead>
#> <tr class="gt_col_headings">
#> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="<strong>Karakteristiek</strong>"><strong>Karakteristiek</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>N = 150</strong><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>N = 150</strong><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> </tr>
#> </thead>
#> <tbody class="gt_table_body">
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Length</td>
#> <td headers="stat_0" class="gt_row gt_center">5.8 (5.1 – 6.4)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Width</td>
#> <td headers="stat_0" class="gt_row gt_center">3.0 (2.8 – 3.3)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Length</td>
#> <td headers="stat_0" class="gt_row gt_center">4.4 (1.6 – 5.1)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Width</td>
#> <td headers="stat_0" class="gt_row gt_center">1.3 (0.3 – 1.8)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Species</td>
#> <td headers="stat_0" class="gt_row gt_center"><br /></td></tr>
#> <tr><td headers="label" class="gt_row gt_left"> setosa</td>
#> <td headers="stat_0" class="gt_row gt_center">50.0 (33.3%)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left"> versicolor</td>
#> <td headers="stat_0" class="gt_row gt_center">50.0 (33.3%)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left"> virginica</td>
#> <td headers="stat_0" class="gt_row gt_center">50.0 (33.3%)</td></tr>
#> </tbody>
#>
#> <tfoot class="gt_footnotes">
#> <tr>
#> <td class="gt_footnote" colspan="2"><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span> Mediaan (25% – 75%); n (%)</td>
#> </tr>
#> </tfoot>
#> </table>
#> </div>
iris |>
tbl_gtsummary(Species, add_p = TRUE)
#> <div id="isgplrcztv" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>#isgplrcztv table {
#> font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
#> -webkit-font-smoothing: antialiased;
#> -moz-osx-font-smoothing: grayscale;
#> }
#>
#> #isgplrcztv thead, #isgplrcztv tbody, #isgplrcztv tfoot, #isgplrcztv tr, #isgplrcztv td, #isgplrcztv th {
#> border-style: none;
#> }
#>
#> #isgplrcztv p {
#> margin: 0;
#> padding: 0;
#> }
#>
#> #isgplrcztv .gt_table {
#> display: table;
#> border-collapse: collapse;
#> line-height: normal;
#> 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;
#> }
#>
#> #isgplrcztv .gt_caption {
#> padding-top: 4px;
#> padding-bottom: 4px;
#> }
#>
#> #isgplrcztv .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-color: #FFFFFF;
#> border-bottom-width: 0;
#> }
#>
#> #isgplrcztv .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
#> padding-top: 3px;
#> padding-bottom: 5px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-color: #FFFFFF;
#> border-top-width: 0;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
#> #isgplrcztv .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
#> #isgplrcztv .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%;
#> }
#>
#> #isgplrcztv .gt_spanner_row {
#> border-bottom-style: hidden;
#> }
#>
#> #isgplrcztv .gt_group_heading {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> 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;
#> text-align: left;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
#> #isgplrcztv .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .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: 5px;
#> padding-right: 5px;
#> }
#>
#> #isgplrcztv .gt_stub_row_group {
#> 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: 5px;
#> padding-right: 5px;
#> vertical-align: top;
#> }
#>
#> #isgplrcztv .gt_row_group_first td {
#> border-top-width: 2px;
#> }
#>
#> #isgplrcztv .gt_row_group_first th {
#> border-top-width: 2px;
#> }
#>
#> #isgplrcztv .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #isgplrcztv .gt_first_summary_row {
#> border-top-style: solid;
#> border-top-color: #D3D3D3;
#> }
#>
#> #isgplrcztv .gt_first_summary_row.thick {
#> border-top-width: 2px;
#> }
#>
#> #isgplrcztv .gt_last_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #isgplrcztv .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .gt_last_grand_summary_row_top {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: double;
#> border-bottom-width: 6px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #isgplrcztv .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #isgplrcztv .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;
#> }
#>
#> #isgplrcztv .gt_sourcenote {
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #isgplrcztv .gt_left {
#> text-align: left;
#> }
#>
#> #isgplrcztv .gt_center {
#> text-align: center;
#> }
#>
#> #isgplrcztv .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
#> #isgplrcztv .gt_font_normal {
#> font-weight: normal;
#> }
#>
#> #isgplrcztv .gt_font_bold {
#> font-weight: bold;
#> }
#>
#> #isgplrcztv .gt_font_italic {
#> font-style: italic;
#> }
#>
#> #isgplrcztv .gt_super {
#> font-size: 65%;
#> }
#>
#> #isgplrcztv .gt_footnote_marks {
#> font-size: 75%;
#> vertical-align: 0.4em;
#> position: initial;
#> }
#>
#> #isgplrcztv .gt_asterisk {
#> font-size: 100%;
#> vertical-align: 0;
#> }
#>
#> #isgplrcztv .gt_indent_1 {
#> text-indent: 5px;
#> }
#>
#> #isgplrcztv .gt_indent_2 {
#> text-indent: 10px;
#> }
#>
#> #isgplrcztv .gt_indent_3 {
#> text-indent: 15px;
#> }
#>
#> #isgplrcztv .gt_indent_4 {
#> text-indent: 20px;
#> }
#>
#> #isgplrcztv .gt_indent_5 {
#> text-indent: 25px;
#> }
#> </style>
#> <table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
#> <thead>
#> <tr class="gt_col_headings">
#> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="<strong>Karakteristiek</strong>"><strong>Karakteristiek</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>setosa</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>setosa</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>versicolor</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>versicolor</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>virginica</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>virginica</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>p-waarde</strong><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>2</sup></span>"><strong>p-waarde</strong><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>2</sup></span></th>
#> </tr>
#> </thead>
#> <tbody class="gt_table_body">
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Length</td>
#> <td headers="stat_1" class="gt_row gt_center">5.0 (4.8 – 5.2)</td>
#> <td headers="stat_2" class="gt_row gt_center">5.9 (5.6 – 6.3)</td>
#> <td headers="stat_3" class="gt_row gt_center">6.5 (6.2 – 6.9)</td>
#> <td headers="p.value" class="gt_row gt_center"><0.001</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Width</td>
#> <td headers="stat_1" class="gt_row gt_center">3.4 (3.2 – 3.7)</td>
#> <td headers="stat_2" class="gt_row gt_center">2.8 (2.5 – 3.0)</td>
#> <td headers="stat_3" class="gt_row gt_center">3.0 (2.8 – 3.2)</td>
#> <td headers="p.value" class="gt_row gt_center"><0.001</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Length</td>
#> <td headers="stat_1" class="gt_row gt_center">1.5 (1.4 – 1.6)</td>
#> <td headers="stat_2" class="gt_row gt_center">4.4 (4.0 – 4.6)</td>
#> <td headers="stat_3" class="gt_row gt_center">5.6 (5.1 – 5.9)</td>
#> <td headers="p.value" class="gt_row gt_center"><0.001</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Width</td>
#> <td headers="stat_1" class="gt_row gt_center">0.2 (0.2 – 0.3)</td>
#> <td headers="stat_2" class="gt_row gt_center">1.3 (1.2 – 1.5)</td>
#> <td headers="stat_3" class="gt_row gt_center">2.0 (1.8 – 2.3)</td>
#> <td headers="p.value" class="gt_row gt_center"><0.001</td></tr>
#> </tbody>
#>
#> <tfoot class="gt_footnotes">
#> <tr>
#> <td class="gt_footnote" colspan="5"><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span> Mediaan (25% – 75%)</td>
#> </tr>
#> <tr>
#> <td class="gt_footnote" colspan="5"><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>2</sup></span> Kruskal-Wallistoets</td>
#> </tr>
#> </tfoot>
#> </table>
#> </div>
iris |>
tbl_gtsummary(Species, add_n = TRUE)
#> <div id="agadocnxbn" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>#agadocnxbn table {
#> font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
#> -webkit-font-smoothing: antialiased;
#> -moz-osx-font-smoothing: grayscale;
#> }
#>
#> #agadocnxbn thead, #agadocnxbn tbody, #agadocnxbn tfoot, #agadocnxbn tr, #agadocnxbn td, #agadocnxbn th {
#> border-style: none;
#> }
#>
#> #agadocnxbn p {
#> margin: 0;
#> padding: 0;
#> }
#>
#> #agadocnxbn .gt_table {
#> display: table;
#> border-collapse: collapse;
#> line-height: normal;
#> 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;
#> }
#>
#> #agadocnxbn .gt_caption {
#> padding-top: 4px;
#> padding-bottom: 4px;
#> }
#>
#> #agadocnxbn .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-color: #FFFFFF;
#> border-bottom-width: 0;
#> }
#>
#> #agadocnxbn .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
#> padding-top: 3px;
#> padding-bottom: 5px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-color: #FFFFFF;
#> border-top-width: 0;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
#> #agadocnxbn .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
#> #agadocnxbn .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%;
#> }
#>
#> #agadocnxbn .gt_spanner_row {
#> border-bottom-style: hidden;
#> }
#>
#> #agadocnxbn .gt_group_heading {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> 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;
#> text-align: left;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
#> #agadocnxbn .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .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: 5px;
#> padding-right: 5px;
#> }
#>
#> #agadocnxbn .gt_stub_row_group {
#> 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: 5px;
#> padding-right: 5px;
#> vertical-align: top;
#> }
#>
#> #agadocnxbn .gt_row_group_first td {
#> border-top-width: 2px;
#> }
#>
#> #agadocnxbn .gt_row_group_first th {
#> border-top-width: 2px;
#> }
#>
#> #agadocnxbn .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #agadocnxbn .gt_first_summary_row {
#> border-top-style: solid;
#> border-top-color: #D3D3D3;
#> }
#>
#> #agadocnxbn .gt_first_summary_row.thick {
#> border-top-width: 2px;
#> }
#>
#> #agadocnxbn .gt_last_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #agadocnxbn .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .gt_last_grand_summary_row_top {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: double;
#> border-bottom-width: 6px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #agadocnxbn .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #agadocnxbn .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;
#> }
#>
#> #agadocnxbn .gt_sourcenote {
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #agadocnxbn .gt_left {
#> text-align: left;
#> }
#>
#> #agadocnxbn .gt_center {
#> text-align: center;
#> }
#>
#> #agadocnxbn .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
#> #agadocnxbn .gt_font_normal {
#> font-weight: normal;
#> }
#>
#> #agadocnxbn .gt_font_bold {
#> font-weight: bold;
#> }
#>
#> #agadocnxbn .gt_font_italic {
#> font-style: italic;
#> }
#>
#> #agadocnxbn .gt_super {
#> font-size: 65%;
#> }
#>
#> #agadocnxbn .gt_footnote_marks {
#> font-size: 75%;
#> vertical-align: 0.4em;
#> position: initial;
#> }
#>
#> #agadocnxbn .gt_asterisk {
#> font-size: 100%;
#> vertical-align: 0;
#> }
#>
#> #agadocnxbn .gt_indent_1 {
#> text-indent: 5px;
#> }
#>
#> #agadocnxbn .gt_indent_2 {
#> text-indent: 10px;
#> }
#>
#> #agadocnxbn .gt_indent_3 {
#> text-indent: 15px;
#> }
#>
#> #agadocnxbn .gt_indent_4 {
#> text-indent: 20px;
#> }
#>
#> #agadocnxbn .gt_indent_5 {
#> text-indent: 25px;
#> }
#> </style>
#> <table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
#> <thead>
#> <tr class="gt_col_headings">
#> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="<strong>Karakteristiek</strong>"><strong>Karakteristiek</strong></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>setosa</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>setosa</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>versicolor</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>versicolor</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>virginica</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>virginica</strong>, N = 50<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>N</strong>"><strong>N</strong></th>
#> </tr>
#> </thead>
#> <tbody class="gt_table_body">
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Length</td>
#> <td headers="stat_1" class="gt_row gt_center">5.0 (4.8 – 5.2)</td>
#> <td headers="stat_2" class="gt_row gt_center">5.9 (5.6 – 6.3)</td>
#> <td headers="stat_3" class="gt_row gt_center">6.5 (6.2 – 6.9)</td>
#> <td headers="n" class="gt_row gt_center">150</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Width</td>
#> <td headers="stat_1" class="gt_row gt_center">3.4 (3.2 – 3.7)</td>
#> <td headers="stat_2" class="gt_row gt_center">2.8 (2.5 – 3.0)</td>
#> <td headers="stat_3" class="gt_row gt_center">3.0 (2.8 – 3.2)</td>
#> <td headers="n" class="gt_row gt_center">150</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Length</td>
#> <td headers="stat_1" class="gt_row gt_center">1.5 (1.4 – 1.6)</td>
#> <td headers="stat_2" class="gt_row gt_center">4.4 (4.0 – 4.6)</td>
#> <td headers="stat_3" class="gt_row gt_center">5.6 (5.1 – 5.9)</td>
#> <td headers="n" class="gt_row gt_center">150</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Width</td>
#> <td headers="stat_1" class="gt_row gt_center">0.2 (0.2 – 0.3)</td>
#> <td headers="stat_2" class="gt_row gt_center">1.3 (1.2 – 1.5)</td>
#> <td headers="stat_3" class="gt_row gt_center">2.0 (1.8 – 2.3)</td>
#> <td headers="n" class="gt_row gt_center">150</td></tr>
#> </tbody>
#>
#> <tfoot class="gt_footnotes">
#> <tr>
#> <td class="gt_footnote" colspan="5"><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span> Mediaan (25% – 75%)</td>
#> </tr>
#> </tfoot>
#> </table>
#> </div>
# support strata by providing
iris2 <- iris
iris2$Category <- sample(LETTERS[1:2], size = 150, replace = TRUE)
head(iris2)
#> Sepal.Length Sepal.Width Petal.Length Petal.Width Species Category
#> 1 5.1 3.5 1.4 0.2 setosa A
#> 2 4.9 3.0 1.4 0.2 setosa A
#> 3 4.7 3.2 1.3 0.2 setosa A
#> 4 4.6 3.1 1.5 0.2 setosa B
#> 5 5.0 3.6 1.4 0.2 setosa B
#> 6 5.4 3.9 1.7 0.4 setosa B
iris2 |>
tbl_gtsummary(c(Category, Species))
#> <div id="lvfhnsedxo" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>#lvfhnsedxo table {
#> font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
#> -webkit-font-smoothing: antialiased;
#> -moz-osx-font-smoothing: grayscale;
#> }
#>
#> #lvfhnsedxo thead, #lvfhnsedxo tbody, #lvfhnsedxo tfoot, #lvfhnsedxo tr, #lvfhnsedxo td, #lvfhnsedxo th {
#> border-style: none;
#> }
#>
#> #lvfhnsedxo p {
#> margin: 0;
#> padding: 0;
#> }
#>
#> #lvfhnsedxo .gt_table {
#> display: table;
#> border-collapse: collapse;
#> line-height: normal;
#> 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;
#> }
#>
#> #lvfhnsedxo .gt_caption {
#> padding-top: 4px;
#> padding-bottom: 4px;
#> }
#>
#> #lvfhnsedxo .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-color: #FFFFFF;
#> border-bottom-width: 0;
#> }
#>
#> #lvfhnsedxo .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
#> padding-top: 3px;
#> padding-bottom: 5px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-top-color: #FFFFFF;
#> border-top-width: 0;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
#> #lvfhnsedxo .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
#> #lvfhnsedxo .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%;
#> }
#>
#> #lvfhnsedxo .gt_spanner_row {
#> border-bottom-style: hidden;
#> }
#>
#> #lvfhnsedxo .gt_group_heading {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> 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;
#> text-align: left;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
#> #lvfhnsedxo .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .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: 5px;
#> padding-right: 5px;
#> }
#>
#> #lvfhnsedxo .gt_stub_row_group {
#> 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: 5px;
#> padding-right: 5px;
#> vertical-align: top;
#> }
#>
#> #lvfhnsedxo .gt_row_group_first td {
#> border-top-width: 2px;
#> }
#>
#> #lvfhnsedxo .gt_row_group_first th {
#> border-top-width: 2px;
#> }
#>
#> #lvfhnsedxo .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #lvfhnsedxo .gt_first_summary_row {
#> border-top-style: solid;
#> border-top-color: #D3D3D3;
#> }
#>
#> #lvfhnsedxo .gt_first_summary_row.thick {
#> border-top-width: 2px;
#> }
#>
#> #lvfhnsedxo .gt_last_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #lvfhnsedxo .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .gt_last_grand_summary_row_top {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
#> padding-right: 5px;
#> border-bottom-style: double;
#> border-bottom-width: 6px;
#> border-bottom-color: #D3D3D3;
#> }
#>
#> #lvfhnsedxo .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #lvfhnsedxo .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;
#> }
#>
#> #lvfhnsedxo .gt_sourcenote {
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
#> padding-left: 5px;
#> padding-right: 5px;
#> }
#>
#> #lvfhnsedxo .gt_left {
#> text-align: left;
#> }
#>
#> #lvfhnsedxo .gt_center {
#> text-align: center;
#> }
#>
#> #lvfhnsedxo .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
#> #lvfhnsedxo .gt_font_normal {
#> font-weight: normal;
#> }
#>
#> #lvfhnsedxo .gt_font_bold {
#> font-weight: bold;
#> }
#>
#> #lvfhnsedxo .gt_font_italic {
#> font-style: italic;
#> }
#>
#> #lvfhnsedxo .gt_super {
#> font-size: 65%;
#> }
#>
#> #lvfhnsedxo .gt_footnote_marks {
#> font-size: 75%;
#> vertical-align: 0.4em;
#> position: initial;
#> }
#>
#> #lvfhnsedxo .gt_asterisk {
#> font-size: 100%;
#> vertical-align: 0;
#> }
#>
#> #lvfhnsedxo .gt_indent_1 {
#> text-indent: 5px;
#> }
#>
#> #lvfhnsedxo .gt_indent_2 {
#> text-indent: 10px;
#> }
#>
#> #lvfhnsedxo .gt_indent_3 {
#> text-indent: 15px;
#> }
#>
#> #lvfhnsedxo .gt_indent_4 {
#> text-indent: 20px;
#> }
#>
#> #lvfhnsedxo .gt_indent_5 {
#> text-indent: 25px;
#> }
#> </style>
#> <table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
#> <thead>
#> <tr class="gt_col_headings gt_spanner_row">
#> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="2" colspan="1" scope="col" id="<strong>Karakteristiek</strong>"><strong>Karakteristiek</strong></th>
#> <th class="gt_center gt_columns_top_border gt_column_spanner_outer" rowspan="1" colspan="3" scope="colgroup" id="<strong>A</strong>">
#> <span class="gt_column_spanner"><strong>A</strong></span>
#> </th>
#> <th class="gt_center gt_columns_top_border gt_column_spanner_outer" rowspan="1" colspan="3" scope="colgroup" id="<strong>B</strong>">
#> <span class="gt_column_spanner"><strong>B</strong></span>
#> </th>
#> </tr>
#> <tr class="gt_col_headings">
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>setosa</strong>, N = 27<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>setosa</strong>, N = 27<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>versicolor</strong>, N = 24<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>versicolor</strong>, N = 24<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>virginica</strong>, N = 27<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>virginica</strong>, N = 27<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>setosa</strong>, N = 23<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>setosa</strong>, N = 23<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>versicolor</strong>, N = 26<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>versicolor</strong>, N = 26<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="<strong>virginica</strong>, N = 23<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span>"><strong>virginica</strong>, N = 23<span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span></th>
#> </tr>
#> </thead>
#> <tbody class="gt_table_body">
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Length</td>
#> <td headers="stat_1_1" class="gt_row gt_center">5.0 (4.9 – 5.2)</td>
#> <td headers="stat_2_1" class="gt_row gt_center">6.0 (5.6 – 6.2)</td>
#> <td headers="stat_3_1" class="gt_row gt_center">6.5 (6.3 – 7.2)</td>
#> <td headers="stat_1_2" class="gt_row gt_center">5.0 (4.7 – 5.3)</td>
#> <td headers="stat_2_2" class="gt_row gt_center">5.9 (5.6 – 6.3)</td>
#> <td headers="stat_3_2" class="gt_row gt_center">6.4 (6.2 – 6.7)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Sepal.Width</td>
#> <td headers="stat_1_1" class="gt_row gt_center">3.4 (3.3 – 3.6)</td>
#> <td headers="stat_2_1" class="gt_row gt_center">2.8 (2.6 – 3.0)</td>
#> <td headers="stat_3_1" class="gt_row gt_center">3.0 (2.8 – 3.2)</td>
#> <td headers="stat_1_2" class="gt_row gt_center">3.4 (3.1 – 3.7)</td>
#> <td headers="stat_2_2" class="gt_row gt_center">2.8 (2.5 – 3.0)</td>
#> <td headers="stat_3_2" class="gt_row gt_center">3.0 (2.8 – 3.2)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Length</td>
#> <td headers="stat_1_1" class="gt_row gt_center">1.4 (1.4 – 1.6)</td>
#> <td headers="stat_2_1" class="gt_row gt_center">4.4 (4.0 – 4.5)</td>
#> <td headers="stat_3_1" class="gt_row gt_center">5.6 (5.3 – 6.0)</td>
#> <td headers="stat_1_2" class="gt_row gt_center">1.5 (1.4 – 1.5)</td>
#> <td headers="stat_2_2" class="gt_row gt_center">4.3 (4.0 – 4.7)</td>
#> <td headers="stat_3_2" class="gt_row gt_center">5.4 (5.1 – 5.8)</td></tr>
#> <tr><td headers="label" class="gt_row gt_left">Petal.Width</td>
#> <td headers="stat_1_1" class="gt_row gt_center">0.2 (0.2 – 0.3)</td>
#> <td headers="stat_2_1" class="gt_row gt_center">1.3 (1.2 – 1.5)</td>
#> <td headers="stat_3_1" class="gt_row gt_center">1.9 (1.8 – 2.2)</td>
#> <td headers="stat_1_2" class="gt_row gt_center">0.2 (0.2 – 0.3)</td>
#> <td headers="stat_2_2" class="gt_row gt_center">1.3 (1.2 – 1.5)</td>
#> <td headers="stat_3_2" class="gt_row gt_center">2.1 (1.8 – 2.3)</td></tr>
#> </tbody>
#>
#> <tfoot class="gt_footnotes">
#> <tr>
#> <td class="gt_footnote" colspan="7"><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;"><sup>1</sup></span> Mediaan (25% – 75%)</td>
#> </tr>
#> </tfoot>
#> </table>
#> </div>
# transform to flextable
# (formats to Certe style and allows rendering to Word)
iris |>
tbl_gtsummary(Species) |>
tbl_flextable()
#> [1] "<div class=\"tabwid\"><style>.cl-cf09722c{}.cl-cf02cf8a{font-family:'Calibri';font-size:10pt;font-weight:bold;font-style:normal;text-decoration:none;color:rgba(255, 255, 255, 1.00);background-color:transparent;}.cl-cf02cfd0{font-family:'Calibri';font-size:6pt;font-weight:bold;font-style:normal;text-decoration:none;color:rgba(255, 255, 255, 1.00);background-color:transparent;position: relative;bottom:3pt;}.cl-cf02cfd1{font-family:'Calibri';font-size:9pt;font-weight:normal;font-style:normal;text-decoration:none;color:rgba(0, 0, 0, 1.00);background-color:transparent;}.cl-cf02cfd2{font-family:'Calibri';font-size:5.4pt;font-weight:normal;font-style:normal;text-decoration:none;color:rgba(0, 0, 0, 1.00);background-color:transparent;position: relative;bottom:2.7pt;}.cl-cf058bf8{margin:0;text-align:center;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:5pt;padding-top:5pt;padding-left:5pt;padding-right:5pt;line-height: 1;background-color:transparent;}.cl-cf058c0c{margin:0;text-align:center;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:5pt;padding-top:5pt;padding-left:5pt;padding-right:5pt;line-height: 1;background-color:transparent;}.cl-cf05a264{width:1.484in;background-color:rgba(74, 100, 125, 1.00);vertical-align: middle;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 2pt solid rgba(74, 100, 125, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a26e{width:1.454in;background-color:rgba(74, 100, 125, 1.00);vertical-align: middle;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 2pt solid rgba(74, 100, 125, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a26f{width:1.733in;background-color:rgba(74, 100, 125, 1.00);vertical-align: middle;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 2pt solid rgba(74, 100, 125, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a278{width:1.628in;background-color:rgba(74, 100, 125, 1.00);vertical-align: middle;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 2pt solid rgba(74, 100, 125, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a279{width:1.484in;background-color:rgba(226, 231, 236, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a27a{width:1.454in;background-color:rgba(226, 231, 236, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a282{width:1.733in;background-color:rgba(226, 231, 236, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a283{width:1.628in;background-color:rgba(226, 231, 236, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a284{width:1.484in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a28c{width:1.454in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a296{width:1.733in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a297{width:1.628in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2a0{width:1.484in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2a1{width:1.454in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2a2{width:1.733in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2aa{width:1.628in;background-color:rgba(246, 247, 248, 1.00);vertical-align: top;border-bottom: 2pt solid rgba(74, 100, 125, 1.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2b4{width:1.484in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(255, 255, 255, 0.00);border-right: 0 solid rgba(255, 255, 255, 0.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2be{width:1.454in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(255, 255, 255, 0.00);border-right: 0 solid rgba(255, 255, 255, 0.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2bf{width:1.733in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(255, 255, 255, 0.00);border-right: 0 solid rgba(255, 255, 255, 0.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-cf05a2c8{width:1.628in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(255, 255, 255, 0.00);border-top: 0.75pt solid rgba(255, 255, 255, 0.00);border-left: 0 solid rgba(255, 255, 255, 0.00);border-right: 0 solid rgba(255, 255, 255, 0.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.tabwid {\n font-size: initial;\n padding-bottom: 1em;\n}\n\n.tabwid table{\n border-spacing:0px !important;\n border-collapse:collapse;\n line-height:1;\n margin-left:auto;\n margin-right:auto;\n border-width: 0;\n border-color: transparent;\n caption-side: top;\n}\n.tabwid-caption-bottom table{\n caption-side: bottom;\n}\n.tabwid_left table{\n margin-left:0;\n}\n.tabwid_right table{\n margin-right:0;\n}\n.tabwid td, .tabwid th {\n padding: 0;\n}\n.tabwid a {\n text-decoration: none;\n}\n.tabwid thead {\n background-color: transparent;\n}\n.tabwid tfoot {\n background-color: transparent;\n}\n.tabwid table tr {\nbackground-color: transparent;\n}\n.katex-display {\n margin: 0 0 !important;\n}</style><table data-quarto-disable-processing='true' class='cl-cf09722c'><thead><tr style=\"overflow-wrap:break-word;\"><th class=\"cl-cf05a264\"><p class=\"cl-cf058bf8\"><span class=\"cl-cf02cf8a\">Karakteristiek</span></p></th><th class=\"cl-cf05a26e\"><p class=\"cl-cf058bf8\"><span class=\"cl-cf02cf8a\">setosa</span><span class=\"cl-cf02cf8a\">, N = 50</span><span class=\"cl-cf02cfd0\">1</span></p></th><th class=\"cl-cf05a26f\"><p class=\"cl-cf058bf8\"><span class=\"cl-cf02cf8a\">versicolor</span><span class=\"cl-cf02cf8a\">, N = 50</span><span class=\"cl-cf02cfd0\">1</span></p></th><th class=\"cl-cf05a278\"><p class=\"cl-cf058bf8\"><span class=\"cl-cf02cf8a\">virginica</span><span class=\"cl-cf02cf8a\">, N = 50</span><span class=\"cl-cf02cfd0\">1</span></p></th></tr></thead><tbody><tr style=\"overflow-wrap:break-word;\"><td class=\"cl-cf05a279\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">Sepal.Length</span></p></td><td class=\"cl-cf05a27a\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">5.0 (4.8 – 5.2)</span></p></td><td class=\"cl-cf05a282\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">5.9 (5.6 – 6.3)</span></p></td><td class=\"cl-cf05a283\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">6.5 (6.2 – 6.9)</span></p></td></tr><tr style=\"overflow-wrap:break-word;\"><td class=\"cl-cf05a284\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">Sepal.Width</span></p></td><td class=\"cl-cf05a28c\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">3.4 (3.2 – 3.7)</span></p></td><td class=\"cl-cf05a296\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">2.8 (2.5 – 3.0)</span></p></td><td class=\"cl-cf05a297\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">3.0 (2.8 – 3.2)</span></p></td></tr><tr style=\"overflow-wrap:break-word;\"><td class=\"cl-cf05a279\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">Petal.Length</span></p></td><td class=\"cl-cf05a27a\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">1.5 (1.4 – 1.6)</span></p></td><td class=\"cl-cf05a282\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">4.4 (4.0 – 4.6)</span></p></td><td class=\"cl-cf05a283\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">5.6 (5.1 – 5.9)</span></p></td></tr><tr style=\"overflow-wrap:break-word;\"><td class=\"cl-cf05a2a0\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">Petal.Width</span></p></td><td class=\"cl-cf05a2a1\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">0.2 (0.2 – 0.3)</span></p></td><td class=\"cl-cf05a2a2\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">1.3 (1.2 – 1.5)</span></p></td><td class=\"cl-cf05a2aa\"><p class=\"cl-cf058c0c\"><span class=\"cl-cf02cfd1\">2.0 (1.8 – 2.3)</span></p></td></tr></tbody><tfoot><tr style=\"overflow-wrap:break-word;\"><td colspan=\"4\"class=\"cl-cf05a2b4\"><p class=\"cl-cf058bf8\"><span class=\"cl-cf02cfd2\">1</span><span class=\"cl-cf02cfd1\">Mediaan (25% – 75%)</span></p></td></tr></tfoot></table></div>"
#> attr(,"class")
#> [1] "knit_asis"
#> attr(,"knit_cacheable")
#> [1] NA