Hao Zhu | e414511 | 2015-11-05 17:52:59 -0500 | [diff] [blame] | 1 | context("Add_Footnote") |
| 2 | ##### |
| 3 | |
| 4 | rtable <- data.frame(variable = c("mpg", "wt"), mean = c(20.091, 3.217), sd = c(6.027, 0.978)) |
| 5 | htmltable_1 <- kable(rtable, format = "html") |
| 6 | htmltable_2 <- kable(rtable, format = "html", caption = "Table", table.attr = "class = 'table table-striped table-hover'") |
| 7 | latextable_1 <- kable(rtable, format = "latex") |
| 8 | latextable_2 <- kable(rtable, format = "latex", caption = "Table", row.names = T, align = c("l", "c", "c")) |
| 9 | latextable_3 <- kable(rtable, format = "latex", booktab = T) |
| 10 | latextable_4 <- kable(rtable, format = "latex", booktab = T, caption = "Table") |