myTableGrob | R Documentation |
Creates table grob in format that is most common for my usage.
myTableGrob(data_dt, title_v, fontsize_v = 14)
data_dt |
Data.table that the grob will be made out of |
title_v |
Title for display |
fontsize_v |
Fontsize for title. Default is 14 (goes well with my_theme) |
gtable object
data_dt <- data.table("A" = LETTERS[1:5], "B" = 1:5)
myGrob <- myTableGrob(data_dt, title_v = "Test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.