kable2: Knit table and round decimal places

View source: R/kable2.R

kable2R Documentation

Knit table and round decimal places

Description

Wrapper function to quickly knit a table and round numeric values.

Usage

kable2(df, digits = 2)

Arguments

df

Dataframe you want to knit.

digits

Number of decimal places, trailing zeros removed.

Value

Markdown table

Examples

kable2(mtcars)


bsurial/bernr documentation built on Nov. 7, 2022, 1:41 a.m.