, tableGrob?
df2$toBind <- c(2, 5, 8)
df1$toBind <- 1:nrow(df1)
toPrint <-
right_join(df2, df1) %>%
mutate(sounds = ifelse(is.na(sounds)
, ""
, as.character(sounds))) %>%
select(-toBind)
grid.table(toPrint, row = NULL)
, , , .
, , sounds. - booktabs LaTeX.
- , . , , "" :
halign$layout[halign$layout$t != 1 &
halign$layout$l == 1, c("t")] <-
c(2,5,8,2,5,8)
halign$layout[halign$layout$b != 1 &
halign$layout$l == 1, c("b")] <-
c(4,7,10,4,7,10)
grid.draw(halign)
(l == 1), (t != 1 b != 1 ) . , (, , ).

, , tab2 grob.. ,
tab2 <- tableGrob(df2
, theme = ttheme_default(core=list(bg_params = list(fill = c("white","darkgrey"), col=NA)) )
, rows = NULL)

:
halign_alt <- combine(tab2,tab3, along =1)
halign_alt$layout[halign_alt$layout$t != 1 &
halign_alt$layout$l == 1, c("t")] <-
c(2,5,7,2,5,7)
halign_alt$layout[halign_alt$layout$b != 1 &
halign_alt$layout$l == 1, c("b")] <-
c(4,6,9,4,6,9)
grid.draw(halign_alt)
