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

as_flextable(keep_id=TRUE) doesn't apply on header in multiby crosstables #88

Open
DanChaltiel opened this issue Nov 15, 2024 · 0 comments
Labels
bug 🐞 Something isn't working enhancement ✨ New feature or request
Milestone

Comments

@DanChaltiel
Copy link
Owner

DanChaltiel commented Nov 15, 2024

It would be nice to have ids for am (transmission) and vs (engine):

crosstable(mtcars2, c(starts_with("cy"), ends_with("at")), by=c(am, vs), 
           label=FALSE, num_digits=3, funs=c(mean, quantile), 
           funs_arg=list(probs=c(.25,.75)),
           effect=TRUE) %>% 
  as_flextable(keep_id=TRUE, compact=TRUE, header_show_n=1:2)

image

Also, label=FALSE is not taken into account here.

@DanChaltiel DanChaltiel added bug 🐞 Something isn't working enhancement ✨ New feature or request labels Nov 15, 2024
@DanChaltiel DanChaltiel added this to the v0.9.0 milestone Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant