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-45")



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: 2022-01-26
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-45, https://cran.r-project.org/web/packages/microplot. Accessed 04 Jan. 2025.
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)
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

NestedMenu  
A Nested Menu Widget for 'Shiny' Applications
Provides a nested menu widget for usage in 'Shiny' applications. This is useful for hierarchical ch ...
Download / Learn more Package Citations See dependency  
epubr  
Read EPUB File Metadata and Text
Provides functions supporting the reading and parsing of internal e-book content from EPUB files. T ...
Download / Learn more Package Citations See dependency  
EffectLiteR  
Average and Conditional Effects
Use structural equation modeling to estimate average and conditional effects of a treatment variabl ...
Download / Learn more Package Citations See dependency  
VARMER  
Variational Merging
A new mathematical formulation to merge observed data with gridded images of environmental variables ...
Download / Learn more Package Citations See dependency  
qualmap  
Opinionated Approach for Digitizing Semi-Structured Qualitative GIS Data
Provides a set of functions for taking qualitative GIS data, hand drawn on a map, and converting it ...
Download / Learn more Package Citations See dependency  
gggibbous  
Moon Charts, a Pie Chart Alternative
Moon charts are like pie charts except that the proportions are shown as crescent or gibbous portio ...
Download / Learn more Package Citations See dependency  

23,440

R Packages

202,297

Dependencies

63,567

Author Associations

23,434

Publication Badges

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