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

View source: R/idsDisplay.R

xkabledplyR Documentation

Combining base::summary, xtable, and kableExtra, to easily display model summary. wrapper for the base::summary function on model objects Can also use as head/tail for nicer display ELo 202004 GWU DATS version 1.2.2

Description

Combining base::summary, xtable, and kableExtra, to easily display model summary. wrapper for the base::summary function on model objects Can also use as head/tail for nicer display ELo 202004 GWU DATS version 1.2.2

Usage

xkabledply(
  modelsmmrytable,
  title = "",
  digits = 4,
  pos = "left",
  bso = "striped",
  wide = FALSE
)

Arguments

modelsmmrytable

This can be a generic table, a model object such as lm(), or the summary of a model object summary(lm())

title

Title of table. If modelsmmrytable has a "formula", it will be the default title

digits

Number of digits to display

pos

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

bso

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

wide

print table in long (FALSE) format or wide (TRUE) format

Value

HTML table for display

Examples

xkabledply( df, title="Table testing", pos="left", bso="hover" )
xkabledply( ISLR::Hitters[1:5,] )

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