Description Usage Arguments Value Examples
Wrapper to 'splitTable' that splits a data frame into a a list and writes out markdown slides to be read in as a child document to main markdown file
1 2 3 |
df |
A data.frame to split and write out |
maxRows |
The maximum number of rows for the new table(s) |
filename |
The filename of the rmarkdown document including extension. |
slideTitle |
Slide Title |
otherText |
Sub text prior to table |
repeatOther |
Logical. If 'TRUE' the sub text will be repeated on each slide |
silent |
Logical. If 'TRUE' reporting of the filename is suppressed. |
... |
Other arguments to 'kable' |
Nothing in R. A markdown document with the specified file name
1 2 3 4 5 6 7 | {
writeRMDKable(airquality, maxRows = 50, slideTitle = "Slide title",
otherText = "Extra information")
writeRMDKable(airquality, maxRows = 50, slideTitle = "Slide title",
otherText = "Extra information",
col.names = names(airquality))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.