formattable0.2.1 package

Create 'Formattable' Data Structures

accounting

Numeric vector with accounting format

area

Create an area to apply formatter

as.datatable.formattable

Convert formattable to a datatable htmlwidget

as.datatable

Generic function to create an htmlwidget

as.htmlwidget.formattable

Convert formattable to an htmlwidget

as.htmlwidget

Generic function to create an htmlwidget

color_bar

Create a color-bar formatter

color_text

Create a color-text formatter

color_tile

Create a color-tile formatter

comma

Numeric vector with thousands separators

csscolor

Generate CSS-compatible color strings

currency

Numeric vector with currency format

digits

Numeric vector showing pre-specific digits

format_table

Format a data frame with formatter functions

formattable-package

The formattable package

formattable.data.frame

Create a formattable data frame

formattable.Date

Create a formattable Date vector

formattable.default

Create a formattable object

formattable.factor

Create a formattable factor object

formattable.logical

Create a formattable logical vector

formattable.numeric

Create a formattable numeric vector

formattable.POSIXct

Create a formattable POSIXct vector

formattable.POSIXlt

Create a formattable POSIXlt vector

formattable

Generic function to create formattable object

formattableOutput

Widget output function for use in Shiny

formatter

Create a formatter function making HTML elements

gradient

Create a matrix from vector to represent colors in gradient

icontext

Create icon-text elements

is.formattable

Test for objects of 'formattable' class

normalize

Normalize a vector to fit zero-to-one scale

normalize_bar

Create a color-bar formatter using normalize

percent

Numeric vector with percentage representation

prefix

Formattable object with prefix

proportion

Rescale a vector relative to the maximal absolute value in the vector

proportion_bar

Create a color-bar formatter using proportion

qrank

Quantile ranks of a vector

renderFormattable

Widget render function for use in Shiny

scientific

Numeric vector with scientific format

style

Create a string-representation of CSS style

suffix

Formattable object with suffix

vmap

Vectorized map from element to case by index or string value

Provides functions to create formattable vectors and data frames. 'Formattable' vectors are printed with text formatting, and formattable data frames are printed with multiple types of formatting in HTML to improve the readability of data presented in tabular form rendered in web pages.

  • Maintainer: Kun Ren
  • License: MIT + file LICENSE
  • Last published: 2021-01-07