You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mydf %>%
tbl_summary(by="Group")
#> Error in names(df) <- repaired_names(c(names2(dimnames(x)), n), repair_hint = TRUE, : 'names' attribute [3] must be the same length as the vector [2]
Thank you @szimmer for the clear and minimal reprex!
We had already planned to add better messaging for factors with NA levels, but hadn't noted factors with no levels. This will be updated here FYI insightsengineering/cards#255
Having all NAs is ok when the levels of the factor are available.
Per discussion on Posit Community forum, a error is yielded when a column consists entirely of missing data. This should be handled more gracefully
N = 201
N = 201
N = 201
N = 201
Created on 2024-09-13 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: