
Render a Trial Comparison Table in knitr
Source:R/f_comparison_table.R
knit_print.TrialComparisonTable.RdRenders data frames prepared by as.data.frame.TrialComparison() with
output = "auto", "html", or "pdf". HTML tables scroll horizontally.
LaTeX tables use longtable and split wide results into column blocks,
repeating the identifier columns in each block.
Arguments
- x
A
TrialComparisonTablereturned byas.data.frame.TrialComparison().- ...
Further arguments passed to the ordinary knitr data-frame renderer when the target is neither HTML nor LaTeX.
Value
A knitr::asis_output object for HTML or LaTeX. Other targets use
the ordinary knitr data-frame representation. Empty tables emit no output.