Description Usage Arguments Value Examples
Combine rows with the same content
| 1 | do_multirow(df, cols = 1:ncol(df), cmidrule = TRUE)
 | 
| df | [ | 
| cols | [ | 
| cmidrule | [ | 
A data.frame with multirow(s) inserted.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run: 
df <- data.frame(FIRST = rep("A", 28), 
                 SECOND = c(rep("A", 4), rep ("B", 6), rep("A", 8), rep("B", 10)), 
                 THIRD = rep(c(LETTERS[0:13 %% 24 + 1]), each = 2), 
                 FORTH = LETTERS[0:27 %% 24 + 1])
print(
  xtable(
    do.multirow(df, cols = 1:3)), 
  booktabs = TRUE, 
  sanitize.text.function = identity, 
  include.rownames = FALSE
)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.