Package: plot2 1.99.0.9031

Matthijs S. Berends

plot2: A Plotting Assistant for Fast 'ggplot2' Visualisations

A streamlined extension of 'ggplot2' designed to simplify and accelerate the creation of data visualisations. 'plot2' automates common tasks such as axis handling, plot type selection, and data transformation, allowing users to create complex, publication-ready plots with minimal code. It integrates seamlessly with the tidyverse and retains full compatibility with 'ggplot2', while offering additional conveniences like enhanced sorting, faceting, and custom theming.

Authors:Matthijs S. Berends [aut, cre], Erwin E. A. Hassing [aut, ctb], Wikje E. Berends-Hoekstra [aut, ctb]

plot2_1.99.0.9031.tar.gz
plot2_1.99.0.9031.zip(r-4.7)plot2_1.99.0.9031.zip(r-4.6)plot2_1.99.0.9031.zip(r-4.5)
plot2_1.99.0.9031.tgz(r-4.6-any)plot2_1.99.0.9031.tgz(r-4.5-any)
plot2_1.99.0.9031.tar.gz(r-4.7-any)plot2_1.99.0.9031.tar.gz(r-4.6-any)
plot2_1.99.0.9031.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
plot2/json (API)
NEWS

# Install 'plot2' in R:
install.packages('plot2', repos = c('https://certe-medical-epidemiology.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/msberends/plot2/issues

Pkgdown/docs site:https://msberends.github.io

Datasets:

On CRAN:

Conda:

ggplot2helperplottingtidyverse

5.73 score 3 stars 1 packages 15 scripts 38 exports 42 dependencies

Last updated from:1badfa036f. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK228
source / vignettesOK288
linux-release-x86_64OK198
macos-release-arm64OK136
macos-oldrel-arm64OK109
windows-develOK162
windows-releaseOK163
windows-oldrelOK165
wasm-releaseOK156

Exports:%>%add_coladd_errorbaradd_lineadd_mappingadd_pointadd_sfadd_smoothadd_typeadd_whiteall_ofany_ofas_plotlybig_markcoord_spiderCoordSpidercreate_interactivelydec_markdollarsends_witheuroseverythingfirstget_colourget_plot_titlelastmatchesmd_to_expressionmove_layernn_distinctplot2plotly_styleregister_colourstarts_withtheme_minimal2unregister_colourwhere

Dependencies:backportsbroomcleanerclicpp11crayondplyrevaluatefarverforcatsgenericsggplot2gluegtablehighrisobandknitrlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesshowtextshowtextdbstringistringrsysfontstibbletidyrtidyselectutf8vctrsviridisLitewithrxfunyaml

An Introduction to plot2(): Enhancing Your ggplot2 Workflow

Rendered fromplot2.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2026-02-23
Started: 2021-11-10

Supported Plot Types

Rendered fromsupported_types.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2026-02-23
Started: 2025-11-30

Readme and manuals

Help Manual

Help pageTopics
Add Additional Mappingadd_mapping
Add Plot Elementadd_col add_errorbar add_line add_point add_sf add_smooth add_type
Example Data Set with Admitted Patientsadmitted_patients
Create Interactive Plotlyas_plotly plotly_style
Spider (Radar) Coordinate System for ggplot2CoordSpider coord_spider
Interactively Create a 'plot2'create_interactively
Use Decimal Comma?big_mark dec_mark
Get (and Register) Colours from R, Viridis and Moreadd_white get_colour register_colour unregister_colour
Get Plot Titleget_plot_title
Label Euro currenciesdollars euros labellers
Convert Markdown to Plotmath Expressionmd_to_expression
Move a 'ggplot' Layermove_layer
Example Geography Data Set: the Netherlandsnetherlands
Conveniently Create a New 'ggplot'plot2
Methods for 'plot2()'plot2-methods plot2.data.frame plot2.default plot2.formula plot2.freq plot2.matrix plot2.sf
'plot2()' Optionsplot2-options
An Even More Minimal Themetheme_minimal2