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

igoR  
Intergovernmental Organizations Database
Tools to extract information from the Intergovernmental Organizations ('IGO') Database , version 3, ...
Download / Learn more Package Citations See dependency  
openNLPdata  
Apache OpenNLP Jars and Basic English Language Models
Apache OpenNLP jars and basic English language models. ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
roptions  
Option Strategies and Valuation
Collection of tools to develop options strategies, value option contracts using the Black-Scholes-Me ...
Download / Learn more Package Citations See dependency  
sorocs  
A Bayesian Semiparametric Approach to Correlated ROC Surfaces
A Bayesian semiparametric Dirichlet process mixtures to estimate correlated receiver operating chara ...
Download / Learn more Package Citations See dependency  
histogram  
Construction of Regular and Irregular Histograms with Different Options for Automatic Choice of Bins
Automatic construction of regular and irregular histograms as described in Rozenholc/Mildenberger/Ga ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

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