scrolling_table: Output a scrollable table

View source: R/main.R

scrolling_tableR 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)

reportRmd documentation built on April 4, 2025, 2:03 a.m.