
#table(
    rows: 11,
    columns: 8,
    column-gutter: 0.25em,
    align: (left, center, center, center, center, center, center, center),
    stroke: none,
    table.header(
        table.hline(y: 0, stroke: 1pt),
        [],
        [],
        table.cell(colspan: 6)[*#"group1"*],
        table.hline(y: 1, start: 2, end: 8, stroke: 0.75pt),
        [],
        [],
        table.cell(colspan: 3)[#"a"],
        table.cell(colspan: 3)[#"b"],
        [],
        [],
        table.cell(colspan: 3)[*#"group2"*],
        table.hline(y: 3, start: 2, end: 5, stroke: 0.75pt),
        table.cell(colspan: 3)[*#"group2"*],
        table.hline(y: 3, start: 5, end: 8, stroke: 0.75pt),
        [],
        [*#"Total"*],
        [#"e"],
        [#"f"],
        [#"Total"],
        [#"e"],
        [#"f"],
        [#"Total"],
        table.hline(y: 4, stroke: 0.75pt),
    ),
    [*#"value1"*],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [#h(12.0pt)#"Mean (SD)"],
    [#"4.5"#" ("#"2.45"#")"],
    [#"2"#" ("#"1.41"#")"],
    [#"3"#" ("#"1.41"#")"],
    [#"2.5"#" ("#"1.29"#")"],
    [#"6"#" ("#"1.41"#")"],
    [#"7"#" ("#"1.41"#")"],
    [#"6.5"#" ("#"1.29"#")"],
    [#h(12.0pt)#"Median [Min, Max]"],
    [#"4.5"#" ["#"1"#", "#"8"#"]"],
    [#"2"#" ["#"1"#", "#"3"#"]"],
    [#"3"#" ["#"2"#", "#"4"#"]"],
    [#"2.5"#" ["#"1"#", "#"4"#"]"],
    [#"6"#" ["#"5"#", "#"7"#"]"],
    [#"7"#" ["#"6"#", "#"8"#"]"],
    [#"6.5"#" ["#"5"#", "#"8"#"]"],
    [*#"value2"*],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [#h(12.0pt)#"a"],
    [#"3"#" ("#"37.5"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"2"#" ("#"50"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"0"#" ("#"0"#"%)"],
    [#"1"#" ("#"25"#"%)"],
    [#h(12.0pt)#"b"],
    [#"3"#" ("#"37.5"#"%)"],
    [#"0"#" ("#"0"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"1"#" ("#"25"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"2"#" ("#"50"#"%)"],
    [#h(12.0pt)#"c"],
    [#"2"#" ("#"25"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"0"#" ("#"0"#"%)"],
    [#"1"#" ("#"25"#"%)"],
    [#"0"#" ("#"0"#"%)"],
    [#"1"#" ("#"50"#"%)"],
    [#"1"#" ("#"25"#"%)"],
    table.hline(y: 11, stroke: 1pt),
)
