use correct factor order

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-12-04 08:05:56 +01:00
parent 149c2747f4
commit f22a0a56b2
No known key found for this signature in database

View File

@ -111,6 +111,7 @@ wide_data_suffixes <- wide_data |> suffix2label()
```{r}
wide_data_suffixes |>
as_factor()|>
dplyr::select(sex, hypertension, diabetes,mrs_score____follow2) |>
gtsummary::tbl_summary()
gtsummary::tbl_summary(type = gtsummary::all_dichotomous() ~ "categorical")
```