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

Grouped columns in tableby #309

Open
DidDrog11 opened this issue Sep 24, 2020 · 1 comment
Open

Grouped columns in tableby #309

DidDrog11 opened this issue Sep 24, 2020 · 1 comment

Comments

@DidDrog11
Copy link

image

Have switched to tableby from a different table making package but can't find how to do this.

Have tried tableby(cohort + smoking_status ~ grouped_age) to no effect. Couldn't find this mentioned in the vignette either. Have I just missed it somewhere?

@eheinzen
Copy link
Collaborator

Unfortunately, the best I can do is to suggest a paste0(cohort, smoking_status) on the left-hand side. We use knitr::kable() for table rendering and haven't gone as far as to switch to gt or kableExtra yet. I'll keep this open as a feature request and see what I can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants