Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in percent_pattern when misfilled #52

Open
DanChaltiel opened this issue Nov 17, 2023 · 0 comments
Open

Bug in percent_pattern when misfilled #52

DanChaltiel opened this issue Nov 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DanChaltiel
Copy link
Owner

BUG if percent_pattern is of length 1

crosstable(mtcars2, am, by=vs, total="both", percent_pattern=list(total_all = "{n}")) %>% 
  as_flextable(keep_id=TRUE)

image

BUG result has NA if percent_pattern has missing values

crosstable(mtcars2, am, by=vs, total="both", percent_pattern=list(total_row="{n}", total_all = "{n}")) %>% 
  as_flextable(keep_id=TRUE)

image

@DanChaltiel DanChaltiel added the bug Something isn't working label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant