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 05 Jul. 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

traitdataform  
Formatting and Harmonizing Ecological Trait-Data
Assistance for handling ecological trait data and applying theEcological Trait-Data Standard termino ...
Download / Learn more Package Citations See dependency  
tbd  
Estimation of Causal Effects with Outcomes Truncated by Death
Estimation of the survivor average causal effect under outcomes truncated by death, which requires t ...
Download / Learn more Package Citations See dependency  
EMMAgeo  
End-Member Modelling of Grain-Size Data
End-member modelling analysis of grain-size data is an approach to unmix a data set's underlying di ...
Download / Learn more Package Citations See dependency  
rebus.unicode  
Unicode Extensions for the 'rebus' Package
Build regular expressions piece by piece using human readable code. This package contains Unicode f ...
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  
nlWaldTest  
Wald Test of Nonlinear Restrictions and Nonlinear CI
Wald Test for nonlinear restrictions on model parameters and confidence intervals for nonlinear fun ...
Download / Learn more Package Citations See dependency  

27,737

R Packages

236,180

Dependencies

73,674

Author Associations

27,536

Publication Badges

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