Other packages > Find by keyword >

ggnext  

A Next-Generation Grammar of Graphics
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("ggnext", "0.1.0")



Attach the package and use:
library("ggnext")
Maintained by
Mahesh Divakaran
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-08-26
Latest Update: 2026-08-26
Description:
An implementation of the Grammar of Graphics described by Wilkinson (2005, ISBN:978-0-387-24544-7), built on 'S7' classes. The familiar grammar vocabulary of aesthetics, geometries, statistics, scales, coordinates, facets and themes composed with '+' is preserved; every constructor that takes an argument also accepts a plot as the first argument of a native pipe ('|>') stage, so the two styles are interchangeable. The package is extended with built-in interactivity, animation, an exact-data export, a plot linter that flags common statistical-graphics mistakes before a figure ships, and a catalogue covering layout diagrams (Sankey, treemap, network, radar), machine-learning diagnostics (SHAP, receiver operating characteristic, calibration, partial dependence) and clinical reporting (Kaplan-Meier, forest, swimmer, CONSORT). Static output is written to Scalable Vector Graphics; interactive output is a self-contained 'HTML' document using a canvas element and vanilla 'JavaScript'. Both render targets consume the same computed-geometry buffer, giving a single source of truth for layer geometry. Layout and estimation algorithms follow their published descriptions, including Bruls, Huizing and van Wijk (2000) <doi:10.1007/978-3-7091-6783-0_4> for squarified treemaps, Fruchterman and Reingold (1991) <doi:10.1002/spe.4380211102> for force-directed graphs, and Kaplan and Meier (1958) <doi:10.1080/01621459.1958.10501452> for survival curves.
How to cite:
Mahesh Divakaran (2026). ggnext: A Next-Generation Grammar of Graphics. R package version 0.1.0, https://cran.r-project.org/web/packages/ggnext. Accessed 24 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited ggnext R package
View ggnext citation profile
Other R packages that ggnext depends, imports, suggests or enhances
Complete documentation for ggnext
Functions, R codes and Examples using the ggnext R package
Full ggnext package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

FDRsampsize  
Compute Sample Size that Meets Requirements for Average Power and FDR
Defines a collection of functions to compute average power and sample size for studies that use the ...
Download / Learn more Package Citations See dependency  
magicfor  
Magic Functions to Obtain Results from for Loops
Magic functions to obtain results from for loops. ...
Download / Learn more Package Citations See dependency  
forecastHybrid  
Convenient Functions for Ensemble Time Series Forecasts
Convenient functions for ensemble forecasts in R combining approaches from the 'forecast' package. ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
climwin  
Climate Window Analysis
Contains functions to detect and visualise periods of climate sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency  
gemlog  
File Conversion for "Gem Infrasound Logger"
Reads data files from the 'Gem infrasound logger' for analysis and converts to segy format (which is ...
Download / Learn more Package Citations See dependency  

29,080

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

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