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.

AuthorKun Ren [aut, cre], Kenton Russell [aut]
Date of publication2016-08-05 11:53:18
MaintainerKun Ren <ken@renkun.me>
LicenseMIT + file LICENSE
Version0.2.0.1
https://renkun.me/formattable, https://github.com/renkun-ken/formattable

View on CRAN

Man pages

accounting: Numeric vector with accounting format

area: Create an area to apply formatter

as.datatable: Generic function to create an htmlwidget

as.datatable.formattable: Convert 'formattable' to a 'datatable' htmlwidget

as.htmlwidget: Generic function to create an htmlwidget

as.htmlwidget.formattable: Convert formattable to 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

formattable: Generic function to create formattable object

format_table: Format a data frame with formatter functions

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

formattableOutput: Widget output function for use in Shiny

formattable-package: The formattable package

formattable.POSIXct: Create a formattable POSIXct vector

formattable.POSIXlt: Create a formattable POSIXlt vector

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...

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

Files in this package

formattable
formattable/inst
formattable/inst/htmlwidgets
formattable/inst/htmlwidgets/formattable_widget.yaml
formattable/inst/htmlwidgets/formattable_widget.js
formattable/inst/doc
formattable/inst/doc/formattable-data-frame.R
formattable/inst/doc/formattable-data-frame.html
formattable/inst/doc/introduction.R
formattable/inst/doc/introduction.html
formattable/inst/doc/formattable-data-frame.Rmd
formattable/inst/doc/introduction.Rmd
formattable/tests
formattable/tests/testthat.R
formattable/tests/testthat
formattable/tests/testthat/test-formats.R
formattable/tests/testthat/test-utils.R
formattable/tests/testthat/test-render.R
formattable/tests/testthat/test-formattable.R
formattable/tests/testthat/test-style.R
formattable/tests/testthat/test-transform.R
formattable/tests/testthat/test-formatter.R
formattable/NAMESPACE
formattable/NEWS
formattable/R
formattable/R/utils.R formattable/R/formattable.R formattable/R/as.datatable.R formattable/R/formatter.R formattable/R/render.R formattable/R/style.R formattable/R/package.R formattable/R/transform.R formattable/R/formats.R
formattable/vignettes
formattable/vignettes/formattable-data-frame.Rmd
formattable/vignettes/introduction.Rmd
formattable/README.md
formattable/MD5
formattable/build
formattable/build/vignette.rds
formattable/DESCRIPTION
formattable/man
formattable/man/prefix.Rd formattable/man/gradient.Rd formattable/man/color_bar.Rd formattable/man/percent.Rd formattable/man/as.htmlwidget.Rd formattable/man/scientific.Rd formattable/man/formattable.numeric.Rd formattable/man/formattable.Rd formattable/man/color_tile.Rd formattable/man/formattable.POSIXct.Rd formattable/man/as.datatable.formattable.Rd formattable/man/formattable.Date.Rd formattable/man/accounting.Rd formattable/man/formattable.logical.Rd formattable/man/formattableOutput.Rd formattable/man/is.formattable.Rd formattable/man/formattable.data.frame.Rd formattable/man/formattable.POSIXlt.Rd formattable/man/formattable-package.Rd formattable/man/as.htmlwidget.formattable.Rd formattable/man/format_table.Rd formattable/man/normalize_bar.Rd formattable/man/csscolor.Rd formattable/man/suffix.Rd formattable/man/currency.Rd formattable/man/proportion_bar.Rd formattable/man/color_text.Rd formattable/man/digits.Rd formattable/man/formattable.factor.Rd formattable/man/formattable.default.Rd formattable/man/formatter.Rd formattable/man/qrank.Rd formattable/man/normalize.Rd formattable/man/proportion.Rd formattable/man/vmap.Rd formattable/man/renderFormattable.Rd formattable/man/icontext.Rd formattable/man/as.datatable.Rd formattable/man/style.Rd formattable/man/comma.Rd formattable/man/area.Rd
formattable/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.