gtsummary icon indicating copy to clipboard operation
gtsummary copied to clipboard

Bug when merging `tbl_summary()` with `tbl_svysummary()`

Open ddsjoberg opened this issue 10 months ago • 3 comments

Check out this SO issue for details: https://stackoverflow.com/questions/78323493

The problem is that survey N is a double and non-survey N is an integer, and they cannot be mixed upon merging.

ddsjoberg avatar Apr 14 '24 15:04 ddsjoberg

I think we could use match() instead of dplyr::rows_update(), which requires type matching.

ddsjoberg avatar Apr 15 '24 01:04 ddsjoberg

👍

larmarange avatar Apr 15 '24 04:04 larmarange

Perhaps the most general solution to this issue would be to make the column a list column?

ddsjoberg avatar Jul 12 '24 05:07 ddsjoberg