formattable: Create 'Formattable' Data Structures
Version 0.2.0.1

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
URL https://renkun.me/formattable https://github.com/renkun-ken/formattable
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("formattable")

Getting started

Package overview
README.md
Formattable data frame
Introduction to formattable package

Popular man pages

as.datatable.formattable: Convert 'formattable' to a 'datatable' htmlwidget
color_bar: Create a color-bar formatter
color_tile: Create a color-tile formatter
currency: Numeric vector with currency format
format_table: Format a data frame with formatter functions
formattable-package: The formattable package
renderFormattable: Widget render function for use in Shiny
See all...

All man pages Function index File listing

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

Functions

accounting Man page Source code
accounting.character Man page Source code
accounting.default Man page Source code
accounting_postproc Source code
all.formattable Source code
any.formattable Source code
area Man page Source code
as.character.formattable Source code
as.datatable Man page Source code
as.datatable.formattable Man page Source code
as.htmlwidget Man page Source code
as.htmlwidget.formattable Man page Source code
as.list.formattable Source code
as_numeric Source code
c.formattable Source code
call_or_default Source code
check_rgb Source code
check_rgba Source code
color_bar Man page Source code
color_text Man page Source code
color_tile Man page Source code
comma Man page Source code
comma.character Man page Source code
comma.default Man page Source code
cop_create_obj Source code
copy_dim Source code
copy_obj Source code
create_obj Source code
csscolor Man page Source code
csscolor.character Source code
csscolor.matrix Source code
cummax.formattable Source code
cummin.formattable Source code
cumsum.formattable Source code
currency Man page Source code
currency.character Man page Source code
currency.default Man page Source code
diff.formattable Source code
digits Man page Source code
eval_formula Source code
fcreate_obj Source code
format.formattable Source code
format_default Source code
format_table Man page Source code
formattable Man page Source code
formattable-package Man page
formattable.Date Man page Source code
formattable.POSIXct Man page Source code
formattable.POSIXlt Man page Source code
formattable.data.frame Man page Source code
formattable.default Man page Source code
formattable.factor Man page Source code
formattable.formattable Source code
formattable.logical Man page Source code
formattable.numeric Man page Source code
formattable.table Source code
formattableOutput Man page Source code
formattable_widget_html Source code
formatter Man page Source code
get_currency_symbol Source code
get_digits Source code
get_false_entries Source code
gradient Man page Source code
icontext Man page Source code
ifelse Source code
is.formattable Man page Source code
is_false Source code
knit_print.formattable Source code
knit_print_formattable Source code
knit_print_formattable.data.frame Source code
max.formattable Source code
mean.formattable Source code
median.formattable Source code
min.formattable Source code
normalize Man page Source code
normalize_bar Man page Source code
percent Man page Source code
percent.character Man page Source code
percent.default Man page Source code
percent_postproc Source code
percent_preproc Source code
prefix Man page Source code
print.formattable Source code
print.formatter Source code
print_formattable Source code
print_formattable.data.frame Source code
print_formattable.default Source code
proportion Man page Source code
proportion_bar Man page Source code
qrank Man page Source code
quantile.formattable Source code
remove_attribute Source code
remove_class Source code
renderFormattable Man page Source code
render_html_matrix Source code
render_html_matrix.data.frame Source code
render_html_matrix.formattable Source code
rep.formattable Source code
reset_class Source code
scientific Man page Source code
seq_list Source code
set_class Source code
str2rgb Source code
style Man page Source code
suffix Man page Source code
sum.formattable Source code
unique.formattable Source code
vmap Man page Source code

Files

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

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

Please suggest features or report bugs in the GitHub issue tracker.

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