Format a table for inclusion in roxygen docs
tabular(df, ...)
df | data.frame |
---|---|
... | additional options passed to |
<http://r-pkgs.had.co.nz/man.html>
df <- data.frame(a_b = 1, b_c = 2, stringsAsFactors = FALSE) tabular(df) #> [1] "\\tabular{rr}{\n\\bold{a_b} \\tab \\bold{b_c} \\cr\n1 \\tab 2\n}\n"