Other packages > Find by keyword >

microplot  

Microplots (Sparklines) in 'LaTeX', 'Word', 'HTML', 'Excel'
View on CRAN: Click here


Download and install microplot package within the R console
Install from CRAN:
install.packages("microplot")

Install from Github:
library("remotes")
install_github("cran/microplot")

Install by package version:
library("remotes")
install_version("microplot", "1.0-47")



Attach the package and use:
library("microplot")
Maintained by
Richard M. Heiberger
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-06-22
Latest Update: 2025-07-25
Description:
The microplot function writes a set of R graphics files to be used as microplots (sparklines) in tables in either 'LaTeX', 'HTML', 'Word', or 'Excel' files. For 'LaTeX', we provide methods for the Hmisc::latex() generic function to construct 'latex' tabular environments which include the graphs. These can be used directly with the operating system 'pdflatex' or 'latex' command, or by using one of 'Sweave', 'knitr', 'rmarkdown', or 'Emacs org-mode' as an intermediary. For 'MS Word', the msWord() function uses the 'flextable' package to construct 'Word' tables which include the graphs. There are several distinct approaches for constructing HTML files. The simplest is to use the msWord() function with argument filetype="html". Alternatively, use either 'Emacs org-mode' or the htmlTable::htmlTable() function to construct an 'HTML' file containing tables which include the graphs. See the documentation for our as.htmlimg() function. For 'Excel' use on 'Windows', the file examples/irisExcel.xls includes 'VBA' code which brings the individual panels into individual cells in the spreadsheet. Examples in the examples and demo subdirectories are shown with 'lattice' graphics, 'ggplot2' graphics, and 'base' 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. The examples for 'MS Word' (with either filetype="docx" or filetype="html") work with all operating systems. The package does not require the installation of 'LaTeX' or 'MS Word' to be able to write '.tex' or '.docx' files.
How to cite:
Richard M. Heiberger (2016). microplot: Microplots (Sparklines) in 'LaTeX', 'Word', 'HTML', 'Excel'. R package version 1.0-47, https://cran.r-project.org/web/packages/microplot. Accessed 13 Jun. 2026.
Previous versions and publish date:
1.0-14 (2016-06-22 06:04), 1.0-16 (2017-01-19 11:17), 1.0-25 (2018-01-11 00:34), 1.0-38 (2018-03-13 09:23), 1.0-39 (2018-06-05 21:48), 1.0-40 (2018-07-15 06:30), 1.0-41 (2018-07-19 00:40), 1.0-42 (2018-08-19 07:10), 1.0-44 (2020-11-28 23:30), 1.0-45 (2022-01-26 23:10)
Other packages that cited microplot R package
View microplot citation profile
Other R packages that microplot depends, imports, suggests or enhances
Complete documentation for microplot
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

MicroDatosEs  
Utilities for Official Spanish Microdata
Provides utilities for reading and processing microdata from Spanish official statistics with R. ...
Download / Learn more Package Citations See dependency  
kim  
A Toolkit for Behavioral Scientists
A collection of functions for analyzing data typically collected or used by behavioral scientists. ...
Download / Learn more Package Citations See dependency  
RGAN  
Generative Adversarial Nets (GAN) in R
An easy way to get started with Generative Adversarial Nets (GAN) in R. The GAN algorithm was initia ...
Download / Learn more Package Citations See dependency  
snowfall  
Easier Cluster Computing (Based on 'snow')
Usability wrapper around snow for easier development of parallel R programs. This package offers e.g ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
sfinx  
Straightforward Filtering Index for AP-MS Data Analysis (SFINX)
The straightforward filtering index (SFINX) identifies true positive protein interactions in a fast ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

73,054

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA