sanxian: Three-line table

sanxianR Documentation

Three-line table

Description

Three-line table

Usage

sanxian(
  df,
  digits = 3,
  nrow = 10,
  ncol = 10,
  fig = FALSE,
  mode = 1,
  background = "#D7261E",
  ...
)

Arguments

df

a data.frame

digits

how many digits should remain

nrow

show how many rows

ncol

show how many columns

fig

output as a figure

mode

1~2

background

background color

...

additional arguments e.g.(rows=NULL)

Value

a ggplot

Examples


if (require("kableExtra")) {
  data(otutab)
  sanxian(otutab)
}


pcutils documentation built on June 26, 2024, 1:06 a.m.