File: package.R

package info (click to toggle)
r-cran-formattable 0.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 420 kB
  • sloc: javascript: 15; sh: 12; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 1,475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#' The formattable package
#'
#' This package is designed for applying formatting on vectors and
#' data frames to make data presentation easier, richer, more flexible
#' and hopefully convey more information.
#'
#' @name formattable-package
#' @docType package
#' @details
#' Atomic vectors are basic units to store data. Some data can be read more easily
#' with formatting. A numeric vector, for example, stores a group of
#' percentage numbers yet still shows in the form of typical floating numbers. This
#' package provides functions to create data structures with predefined
#' formatting rules so that these objects stores the original data but are printed
#' with formatting.
#'
#' On the other hand, in a typical workflow of dynamic document production, \code{knitr}
#' and \code{rmarkdown} are powerful tools to render documents with R code to different
#' types of portable documents.
#'
#' \code{knitr} package is able to render a RMarkdown document (markdown document
#' with R code chunks to be executed sequentially) to Markdown document.
#' \code{rmarkdown} calls \code{pandoc} to render markdown document to HTML web page.
#' To put a table from a \code{data.frame} on the page, one may call \code{knitr::kable}
#' to produce its markdown representation. By default the resulted table is in a plain
#' theme with no additional formatting. However, in some cases, additional formatting
#' may help clarify the information and make contrast of the data.
NULL