-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
When I use droplevels = FALSE with table1.formula(), I'm getting extra NAs on the variable name lines. For example:
iris |>
dplyr::filter(Species != "setosa") |>
table1::table1(data = _, x = ~ . | Species, droplevels = FALSE)produces:
Probably an unusual case, but a colleague asked me for a table with an all-NA column like this. Is there a way to remove the extra NAs (on lines 1, 4, ,7, and 10)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
