xkablesummary: Combining base::summary, xtable, and kableExtra, to easily...

View source: R/idsDisplay.R

xkablesummaryR Documentation

Combining base::summary, xtable, and kableExtra, to easily display numeric variable summary of dataframes. ELo 202004 GWU DATS version 1.2

Description

Combining base::summary, xtable, and kableExtra, to easily display numeric variable summary of dataframes. ELo 202004 GWU DATS version 1.2

Usage

xkablesummary(
  df,
  title = "Table: Statistics summary.",
  digits = 4,
  pos = "left",
  bso = "striped"
)

Arguments

df

The dataframe.

title

Title of table.

digits

Number of digits to display

pos

Position of table, c("left","center","right")

bso

bootstrap_options = c("basic", "striped", "bordered", "hover", "condensed", "responsive")

Value

The HTML summary table for display, or for knitr to process into other formats

Examples

  xkablesummary( ISLR::Hitters, title="Five number summary", pos="left", bso="hover"  )

physicsland/ezids documentation built on Feb. 4, 2024, 2:13 a.m.