Réglages pour un tableau généré par gtsummary (avec une variable de tri & des tests statistiques).
Source:R/tabph.R
tabph.RdRéglages pour un tableau généré par gtsummary (avec une variable de tri & des tests statistiques).
Examples
tabph(gtsummary::tbl_summary(patients[, 1:4], by = sexe), nn = 2, nomv = "Sexe", normx = FALSE)
#> The following warnings were returned during `bold_p()`:
#> ! For variable `admission` (`sexe`) and "statistic", "p.value", and "parameter"
#> statistics: Chi-squared approximation may be incorrect
#> ! For variable `lieudevie1` (`sexe`) and "statistic", "p.value", and
#> "parameter" statistics: Chi-squared approximation may be incorrect
f
N = 211
m
N = 291
1 Médiane (Q1 – Q3); n (%)
2 Wilcoxon rank sum exact test; test du khi-deux d’indépendance