Package: formattable 0.2.1.9000

formattable: Create 'Formattable' Data Structures

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.

Authors:Kun Ren [aut, cre], Kenton Russell [aut]

formattable_0.2.1.9000.tar.gz
formattable_0.2.1.9000.zip(r-4.5)formattable_0.2.1.9000.zip(r-4.4)formattable_0.2.1.9000.zip(r-4.3)
formattable_0.2.1.9000.tgz(r-4.4-any)formattable_0.2.1.9000.tgz(r-4.3-any)
formattable_0.2.1.9000.tar.gz(r-4.5-noble)formattable_0.2.1.9000.tar.gz(r-4.4-noble)
formattable_0.2.1.9000.tgz(r-4.4-emscripten)formattable_0.2.1.9000.tgz(r-4.3-emscripten)
formattable.pdf |formattable.html
formattable/json (API)
NEWS

# Install 'formattable' in R:
install.packages('formattable', repos = c('https://renkun-ken.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/renkun-ken/formattable/issues

On CRAN:

14.65 score 695 stars 26 packages 3.7k scripts 19k downloads 40 exports 4 dependencies

Last updated 6 days agofrom:c817a1d68c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winOKNov 17 2024
R-4.5-linuxOKNov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:accountingareaas.datatableas.htmlwidgetcolor_barcolor_textcolor_tilecommacsscolorcurrencydigitsformat_tableformattableformattableOutputformattergradienticontextis.formattablenormalizenormalize_barnum_accountingnum_commanum_currencynum_digitsnum_percentnum_scientificparse_accountingparse_commaparse_currencyparse_percentpercentprefixproportionproportion_barqrankrenderFormattablescientificstylesuffixvmap

Dependencies:cligluelifecyclerlang

Formattable data frame

Rendered fromformattable-data-frame.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2023-10-09
Started: 2016-07-25

Introduction to formattable package

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2016-08-07
Started: 2016-07-25

Readme and manuals

Help Manual

Help pageTopics
The formattable packageformattable-package
Create an area to apply formatterarea
Generic function to create an htmlwidgetas.datatable
Convert 'formattable' to a 'DT::datatable()' htmlwidgetas.datatable.formattable
Generic function to create an htmlwidgetas.htmlwidget
Convert formattable to an htmlwidgetas.htmlwidget.formattable
Create a color-bar formattercolor_bar
Create a color-text formattercolor_text
Create a color-tile formattercolor_tile
Generate CSS-compatible color stringscsscolor
Format a data frame with formatter functionsformat_table
Generic function to create formattable objectformattable
Create a formattable data frameformattable.data.frame
Create a formattable Date vectorformattable.Date
Create a formattable objectformattable.default
Create a formattable factor objectformattable.factor
Create a formattable logical vectorformattable.logical
Create a formattable numeric vectorformattable.numeric
Create a formattable POSIXct vectorformattable.POSIXct
Create a formattable POSIXlt vectorformattable.POSIXlt
Widget output function for use in ShinyformattableOutput
Create a formatter function making HTML elementsformatter
Create a matrix from vector to represent colors in gradientgradient
Create icon-text elementsicontext
Test for objects of 'formattable' classis.formattable
Normalize a vector to fit zero-to-one scalenormalize
Create a color-bar formatter using normalizenormalize_bar
Numeric vector with accounting formatnum_accounting parse_accounting
Numeric vector with thousands separatorsnum_comma parse_comma
Numeric vector with currency formatnum_currency parse_currency
Numeric vector showing pre-specific digitsnum_digits
Numeric vector with percentage representationnum_percent parse_percent
Numeric vector with scientific formatnum_scientific
Formattable object with prefixprefix
Rescale a vector relative to the maximal absolute value in the vectorproportion
Create a color-bar formatter using proportionproportion_bar
Quantile ranks of a vectorqrank
Widget render function for use in ShinyrenderFormattable
Create a string-representation of CSS stylestyle
Formattable object with suffixsuffix
Vectorized map from element to case by index or string valuevmap