Description Usage Arguments Note Examples
Control the mark up and formats for different sections of table
1 2 3 4 |
frmt.bdy |
format settings for body of table |
frmt.col |
format settings for column heading of table |
frmt.colh |
Only used for borders around column spanning in hiearchy, "o" boxes entrie column, "_" puts line under hiarchy |
frmt.grp |
format settings for row group labels |
frmt.lbl |
format settings for row labels |
frmt.main |
format settings for table title |
frmt.tbl |
format settings for entire table, currently only for the box around entire table (Except table title) |
frmt.ftn |
format settings for footnote |
justify |
justification of text, applies to column heading and body |
indent |
number of characters ("A") to indent the labels underneath the grouping variable |
tbl.buf |
The space (vertical) between multiple tables |
cex |
character expansion |
Defaults are listed below, unless section of table overwrites with its own defaults:
fontfamily = "" fontface = "plain" fontsize = 8 col = "black" bg = "white" buf = 3 bty = "X" (none) lwd = 1 lty = 1 lcol="black" linespace = 2
Column heading: fontface="bold",bty="_", lwd=2
Column Spanning: bty="_",
Row Group: fontface="bold", bty="="
Entire table: bty="="
Table title (main): fontface="bold", fontsize=10, linespace=1.5
Footnote: linespace=1.5
1 2 3 4 5 6 7 8 9 10 | # My Style
# Default, this is what is used in dprint if style parameter is not defined
style()
# Save style sheet formats in object to pass to multiple calls
CBs <- style(frmt.bdy=frmt(fontfamily="HersheySans"), frmt.tbl=frmt(bty="o", lwd=1),
frmt.col=frmt(fontfamily="HersheySans", bg="khaki", fontface="bold",lwd=2,bty="_"),
frmt.grp=frmt(fontfamily="HersheySans",bg="khaki", fontface="bold"),
frmt.main=frmt(fontfamily="HersheySans", fontface="bold", fontsize=12),
frmt.ftn=frmt(fontfamily="HersheySans"),
justify="right")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.