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 15 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

graphkernels  
Graph Kernels
A fast C++ implementation for computing various graph kernels including (1) simple kernels between v ...
Download / Learn more Package Citations See dependency  
r4ss  
R Code for Stock Synthesis
A collection of R functions for use with Stock Synthesis, a fisheries stock assessment modeling pla ...
Download / Learn more Package Citations See dependency  
expss  
Tables, Labels and Some Useful Functions from Spreadsheets and 'SPSS' Statistics
Package computes and displays tables with support for 'SPSS'-style labels, multiple and nested bann ...
Download / Learn more Package Citations See dependency  
MedDietCalc  
Multi Calculator to Compute Scores of Adherence to Mediterranean Diet
Multi Calculator of different scores to measure adherence to Mediterranean Diet, to compute them in ...
Download / Learn more Package Citations See dependency  
wfindr  
Crossword, Scrabble and Anagram Solver
Provides a large English words list and tools to find words by patterns. In particular, anagram find ...
Download / Learn more Package Citations See dependency  
faq  
Create FAQ Page
Create Frequently Asked Questions page for Shiny application. ...
Download / Learn more Package Citations See dependency  

27,457

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