wideTable: Create a wide kable table

View source: R/wideTable.R

wideTableR Documentation

Create a wide kable table

Description

Function to make a "wide kable table", with column names replicated across the page

Usage

wideTable(
  d,
  countBy = {
     {
         countBy
     }
 },
  countNum = {
     {
         countNum
     }
 },
  nsplit = NA,
  colNames = c("countBy", "count"),
  caption = "",
  returnDF = FALSE,
  ...
)

Arguments

d

Data frame or tibble

countBy

Category column

countNum

Numeric column

nsplit

How many splits should be made?

colNames

Change column names

caption

Table caption

returnDF

Return results as a data frame?

...

Other arguments for kable_styling

Value

A kable table

Examples

NULL

samuelVJrobinson/SRtools documentation built on Nov. 11, 2024, 12:37 p.m.