table2Figure | R Documentation |
Convert a text table to figure
table2Figure(
data,
rowname = TRUE,
ttheme = "blank",
top.black.line = 1:2,
bottom.black.line = 1,
subtitle = NULL,
main.title = NULL,
footnote = NULL,
vline = NULL
)
rowname |
Default TRUE |
ttheme |
Default blank. character string the table style/theme. The available themes are illustrated in the ggtexttable-theme.pdf file. Allowed values include one of c("default", "blank", "classic", "minimal", "light", "lBlack", "lBlue", "lRed", "lGreen", "lViolet", "lCyan", "lOrange", "lBlackWhite", "lBlueWhite", "lRedWhite", "lGreenWhite", "lVioletWhite", "lCyanWhite", "lOrangeWhite", "mBlack", "mBlue", "mRed", "mGreen", "mViolet", "mCyan", "mOrange", "mBlackWhite", "mBlueWhite", "mRedWhite", "mGreenWhite", "mVioletWhite", "mCyanWhite", "mOrangeWhite" ). Note that, l = "light"; m = "medium" |
top.black.line |
Default 1:2. Black line. From top |
bottom.black.line |
Default 1. Black line From bottom |
subtitle |
Subtitle if you want to show |
main.title |
Main title if you want to show |
footnote |
Italic footnote at botton if you want to show |
vline |
data(iris)
loonR::table2Figure( head(iris), main.title = "IRIS", footnote = "Here is footnote")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.