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

Column names border only ggtexttable() #125

Closed
nataliagalant opened this issue Oct 29, 2018 · 1 comment
Closed

Column names border only ggtexttable() #125

nataliagalant opened this issue Oct 29, 2018 · 1 comment

Comments

@nataliagalant
Copy link

Wondering if its possible to/if so how to add a bottom border right under the column names. So nowhere else in the table body, just a horizontal line across the top and bottom of the column name cells for a ggtexttable().

@kassambara
Copy link
Owner

This feature is now available:

suppressPackageStartupMessages(library("ggpubr"))
# Column names border only
ggtexttable(head(iris), rows = NULL, theme = ttheme("blank")) %>%
  tab_add_hline(at.row = 1:2, row.side = "top", linewidth = 2)

Created on 2020-06-09 by the reprex package (v0.3.0.9001)

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

No branches or pull requests

2 participants