scrolling_table {reportRmd} | R Documentation |
Output a scrollable table
Description
This function accepts the output of a aa call to knitr::kable or reportRmd::outTable and, if the output format is html, will produce a scrollable table. Otherwise a regular table will be output for pandoc/latex
Usage
scrolling_table(knitrTable, pixelHeight = 500)
Arguments
knitrTable |
output from a call to knitr::kable or outTable |
pixelHeight |
the height of the scroll box in pixels,defulat is 500 |
Examples
data("pembrolizumab")
tab <- rm_covsum(data=pembrolizumab,maincov = 'change_ctdna_group',
covs=c('age','cohort','sex','pdl1','tmb','l_size'),full=F)
scrolling_table(tab,pixelHeight=300)
[Package reportRmd version 0.1.1 Index]