dplot3_table: Simple HTML table

View source: R/dplot3_table.R

dplot3_tableR Documentation

Simple HTML table

Description

Draw an html table using plotly

Usage

dplot3_table(
  x,
  .ddSci = TRUE,
  main = NULL,
  main.col = "black",
  main.x = 0,
  main.xanchor = "auto",
  fill.col = "#18A3AC",
  table.bg = "white",
  bg = "white",
  line.col = "white",
  lwd = 1,
  header.font.col = "white",
  table.font.col = "gray20",
  font.size = 14,
  font.family = "Helvetica Neue",
  margin = list(l = 0, r = 5, t = 30, b = 0, pad = 0)
)

Arguments

x

data.frame: Table to draw

.ddSci

Logical: If TRUE, apply ddSci to numeric columns.

main

Character: Table tile.

main.col

Color: Title color.

main.x

Float [0, 1]: Align title: 0: left, .5: center, 1: right.

main.xanchor

Character: "auto", "left", "right": plotly's layout xanchor for title. Default = "auto"

fill.col

Color: Used to fill header with column names and first column with row names.

table.bg

Color: Table background.

bg

Color: Background.

line.col

Color: Line color.

lwd

Float: Line width. Default = 1

header.font.col

Color: Header font color.

table.font.col

Color: Table font color.

font.size

Integer: Font size.

font.family

Character: Font family.

margin

List: plotly's margins.

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.