display_as_table: Create an HTML table

View source: R/display_as_table.R

display_as_tableR Documentation

Create an HTML table

Description

Create an HTML table

Usage

display_as_table(x, digits = NULL, ...)

Arguments

x

a data.frame, 2D matrix, table, etc. to be displayed as an HTML table

digits

number of digits to display for numeric columns; default is all digits

...

passed to shiny::tags$table

Examples

d <- data.frame(a=1:3, b=runif(3))
display_as_table(d)
display_as_table(d, digits=3)


jiho/yssr documentation built on Sept. 8, 2024, 9:07 p.m.