microplot: Use R Graphics Files as Microplots (Sparklines) in Tables in LaTeX or HTML Files, and Output Data.frames to Org-Mode

Prepare lists of R graphics files to be used as microplots (sparklines) in tables in either LaTeX or HTML files. For LaTeX use the Hmisc::latex() function or xtable::xtable() with Sweave, knitr, rmarkdown, or Emacs org-mode to construct latex tabular environments which include the graphs. For HTML files use either Emacs org-mode or the htmlTable::htmlTable() function to construct an HTML file containing tables which include the graphs. Examples are shown with lattice graphics, base graphics, and ggplot2 graphics. Examples for LaTeX include Sweave (both LaTeX-style and Noweb-style), knitr, emacs org-mode, and rmarkdown input files and their pdf output files. Examples for HTML include org-mode and Rmd input files and their webarchive HTML output files. In addition, the as.orgtable function can display a data.frame in an org-mode document.

Author
Richard M. Heiberger, with contributions from Karen Byron and Nooreen Dabbish.
Date of publication
2016-06-22 06:04:27
Maintainer
Richard M. Heiberger <rmh@temple.edu>
License
GPL (>= 2)
Version
1.0-14

View on CRAN

Man pages

as.htmlimg
Place a filename or filepath in the format used by HTML
as.includegraphics
Convert a filename into a complete LaTeX 'includegraphics'...
as.orgfile
Place a filename or filepath in the format used by org-mode
as.orgtable
Prepare a matrix or data.frame to be used as an org-mode...
latexCheckOptions
Check whether the options for latex functions have been...
layoutCollapse
Set the lattice 'par.settings' to remove all marginal space.
microplot-package
\Sexpr[results=rd,stage=build]{tools:::Rd_package_title("microplot")}
themeCollapse
Set the ggplot2 theme to remove all marginal space.

Files in this package

microplot
microplot/inst
microplot/inst/examples
microplot/inst/examples/irisRMarkdownHtml.Rmd
microplot/inst/examples/irisSweaveTakeApart.Rtex
microplot/inst/examples/irisMarkdown.Rmd
microplot/inst/examples/irisNoweb.Rnw
microplot/inst/examples/irisKnitr.Rnw
microplot/inst/examples/irisOrg.org
microplot/inst/examples/irisSweave.Rtex
microplot/inst/examples/irisOrgHtml.org
microplot/inst/doc
microplot/inst/doc/rmhPoster.pdf
microplot/inst/doc/rmhPoster.R
microplot/inst/doc/rmhPoster.Rtex
microplot/NAMESPACE
microplot/demo
microplot/demo/NTplot.r
microplot/demo/timeseries.r
microplot/demo/bwplot.r
microplot/demo/00Index
microplot/demo/iris.r
microplot/R
microplot/R/as.htmlimg.R
microplot/R/as.orgfile.R
microplot/R/themeCollapse.R
microplot/R/latexCheckOptions.R
microplot/R/as.includegraphics.R
microplot/R/layoutCollapse.R
microplot/vignettes
microplot/vignettes/rmhslides.sty
microplot/vignettes/rmhPoster.Rtex
microplot/vignettes/HH2.pdf
microplot/MD5
microplot/build
microplot/build/vignette.rds
microplot/build/partial.rdb
microplot/DESCRIPTION
microplot/man
microplot/man/as.orgtable.Rd
microplot/man/microplot-package.Rd
microplot/man/as.orgfile.Rd
microplot/man/latexCheckOptions.Rd
microplot/man/as.htmlimg.Rd
microplot/man/layoutCollapse.Rd
microplot/man/as.includegraphics.Rd
microplot/man/themeCollapse.Rd