mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2025-01-18 13:06:34 +01:00
use correct factor order
This commit is contained in:
parent
149c2747f4
commit
f22a0a56b2
@ -110,7 +110,8 @@ wide_data_suffixes <- wide_data |> suffix2label()
|
||||
## Creating a nice table
|
||||
|
||||
```{r}
|
||||
wide_data_suffixes |>
|
||||
wide_data_suffixes |>
|
||||
as_factor()|>
|
||||
dplyr::select(sex, hypertension, diabetes,mrs_score____follow2) |>
|
||||
gtsummary::tbl_summary()
|
||||
gtsummary::tbl_summary(type = gtsummary::all_dichotomous() ~ "categorical")
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user