🐳 Data Tables in R

knitr::opts_chunk$set(echo = TRUE,message = FALSE,fig.align = "center",fig.height = "4", fig.width = 5)
library(tidyverse)
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
## ✔ ggplot2 3.4.0      ✔ purrr   1.0.1 
## ✔ tibble  3.1.8      ✔ dplyr   1.0.10
## ✔ tidyr   1.2.1      ✔ stringr 1.5.0 
## ✔ readr   2.1.3      ✔ forcats 0.5.2 
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
library(vcd)
## Loading required package: grid
library(vcdExtra)
## Loading required package: gnm
## 
## Attaching package: 'vcdExtra'
## 
## The following object is masked from 'package:dplyr':
## 
##     summarise
library(gt)
library(gtExtras)
library(gtsummary)

0.1 References

  1. Albert Rapp, Creating Beautiful Tables with {gt}, https://gt.albert-rapp.de/

LS0tDQp0aXRsZTogIlxVMDAwMUY0MzMgRGF0YSBUYWJsZXMgaW4gUiINCmF1dGhvcjogIkFydmluZCBWZW5rYXRhZHJpIg0KZGF0ZTogImByIFN5cy5EYXRlKClgIg0KDQp0YWdzOg0KLSBQcm9wb3J0aW9ucw0KLSBGcmVxdWVuY3kgVGFibGVzDQotIENvbnRpbmdlbmN5IFRhYmxlcw0KLSBOdW1lcmljYWwgRGF0YSBpbiBHcm91cHMNCi0gTWFyZ2lucw0KLSBMaWtlcnQgU2NhbGUgZGF0YQ0KLSBCYXIgUGxvdHMgKGZvciBDb250aW5nZW5jeSBUYWJsZXMpDQotIE1vc2FpYyBQbG90cw0KLSBCYWxsb29uIFBsb3RzDQotIENvcnJlc3BvbmRlbmNlIEFuYWx5c2lzDQpvdXRwdXQ6DQogIHJtZGZvcm1hdHM6OnJlYWR0aGVkb3duOg0KICAgIGhpZ2hsaWdodDoga2F0ZQ0KICAgIHRvY19mbG9hdDogVFJVRQ0KICAgIHRvY19kZXB0aDogMg0KICAgIGRmX3ByaW50OiBwYWdl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