Other packages > Find by keyword >

ggplot2  

Create Elegant Data Visualisations Using the Grammar of Graphics
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("ggplot2", "3.5.1")



Attach the package and use:
library("ggplot2")
Maintained by
Thomas Lin Pedersen
[Scholar Profile | Author Map]
First Published: 2007-06-01
Latest Update: 2024-02-23
Description:
A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.
How to cite:
Thomas Lin Pedersen (2007). ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics. R package version 3.5.1, https://cran.r-project.org/web/packages/ggplot2. Accessed 26 Mar. 2025.
Previous versions and publish date:
0.5.1 (2007-06-10 21:49), 0.5.2 (2007-06-18 08:10), 0.5.4 (2007-07-08 21:58), 0.5.5 (2007-09-01 13:04), 0.5.6 (2007-10-20 09:22), 0.5.7 (2008-01-11 18:32), 0.5 (2007-06-01 14:27), 0.6 (2008-04-03 18:26), 0.7 (2008-10-05 13:01), 0.8.1 (2008-12-14 12:08), 0.8.2 (2009-02-25 08:50), 0.8.3 (2009-04-20 19:22), 0.8.4 (2009-12-09 16:32), 0.8.5 (2009-12-16 08:37), 0.8.6 (2010-02-18 17:53), 0.8.7 (2010-03-02 17:58), 0.8.8 (2010-07-05 20:25), 0.8.9 (2010-12-23 19:17), 0.8 (2008-11-21 09:25), 0.9.0 (2012-03-01 08:01), 0.9.1 (2012-05-08 04:15), 0.9.2.1 (2012-09-11 12:19), 0.9.2 (2012-09-04 08:16), 0.9.3.1 (2013-03-02 15:57), 0.9.3 (2012-12-05 13:11), 1.0.0 (2014-05-21 15:36), 1.0.1 (2015-03-17 17:49), 2.0.0 (2015-12-18 10:45), 2.1.0 (2016-03-01 15:47), 2.2.0 (2016-11-11 12:24), 2.2.1 (2016-12-30 22:45), 3.0.0 (2018-07-03 19:20), 3.1.0 (2018-10-25 06:30), 3.1.1 (2019-04-07 11:30), 3.2.0 (2019-06-16 16:00), 3.2.1 (2019-08-11 00:30), 3.3.0 (2020-03-05 17:00), 3.3.1 (2020-05-29 01:20), 3.3.2 (2020-06-19 15:00), 3.3.3 (2020-12-30 16:30), 3.3.4 (2021-06-16 06:20), 3.3.5 (2021-06-25 13:30), 3.3.6 (2022-05-03 09:00), 3.4.0 (2022-11-04 16:20), 3.4.1 (2023-02-10 14:20), 3.4.2 (2023-04-03 16:10), 3.4.3 (2023-08-14 13:20), 3.4.4 (2023-10-12 13:40), 3.5.0 (2024-02-23 10:30)
Other packages that cited ggplot2 R package
View ggplot2 citation profile
Other R packages that ggplot2 depends, imports, suggests or enhances
Complete documentation for ggplot2
Functions, R codes and Examples using the ggplot2 R package
Some associated functions: absoluteGrob . add_theme . aes . aes_ . aes_all . aes_auto . aes_colour_fill_alpha . aes_eval . aes_group_order . aes_linetype_size_shape . aes_position . annotate . annotation_custom . annotation_logticks . annotation_map . annotation_raster . as.list.ggproto . as_labeller . autolayer . autoplot . benchplot . bidirection . binned_scale . borders . calc_element . combine_vars . continuous_scale . coord_cartesian . coord_fixed . coord_flip . coord_map . coord_munch . coord_polar . coord_trans . cut_interval . datetime_scale . diamonds . discrete_scale . draw_key . economics . element . element_grob . element_render . expand_limits . expansion . facet_grid . facet_null . facet_wrap . faithfuld . find_panel . fortify-multcomp . fortify.lm . fortify.map . fortify . fortify.sp . geom_abline . geom_bar . geom_bin_2d . geom_blank . geom_boxplot . geom_contour . geom_count . geom_density . geom_density_2d . geom_dotplot . geom_errorbarh . geom_function . geom_hex . geom_histogram . geom_jitter . geom_linerange . geom_map . geom_path . geom_point . geom_polygon . geom_qq . geom_quantile . geom_ribbon . geom_rug . geom_segment . geom_smooth . geom_spoke . geom_text . geom_tile . geom_violin . get_alt_text . gg-add . gg_dep . ggplot . ggplot2-ggproto . ggplot2-package . ggplotGrob . ggplot_add . ggplot_build . ggplot_gtable . ggproto . ggsave . ggsf . ggtheme . graphical-units . guide-exts . guide_axis . guide_bins . guide_colourbar . guide_coloursteps . guide_legend . guide_none . guides . hmisc . is.Coord . is.facet . is.ggplot . is.rel . is.theme . label_bquote . labeller . labellers . labs . last_plot . layer . layer_sf . limits . lims . luv_colours . map_data . max_height . mean_se . merge_element . midwest . mpg . msleep . position_dodge . position_identity . position_jitter . position_jitterdodge . position_nudge . position_stack . presidential . print.ggplot . print.ggproto . qplot . reexports . register_theme_elements . remove_missing . render_axes . render_strips . resolution . scale_alpha . scale_binned . scale_brewer . scale_colour_continuous . scale_colour_discrete . scale_continuous . scale_date . scale_discrete . scale_gradient . scale_grey . scale_hue . scale_identity . scale_linetype . scale_linewidth . scale_manual . scale_shape . scale_size . scale_steps . scale_type . scale_viridis . seals . sec_axis . set_last_plot . sf_transform_xy . should_stop . standardise_aes_names . stat_ecdf . stat_ellipse . stat_identity . stat_sf_coordinates . stat_summary . stat_summary_2d . stat_unique . summarise_plot . summary.ggplot . theme . theme_get . tidyeval . transform_position . txhousing . update_defaults . update_labels . vars . waiver . wrap_dims . zeroGrob . 
Some associated R codes: aaa-.R . aes-colour-fill-alpha.R . aes-evaluation.R . aes-group-order.R . aes-linetype-size-shape.R . aes-position.R . aes.R . annotation-custom.R . annotation-logticks.R . annotation-map.R . annotation-raster.R . annotation.R . autolayer.R . autoplot.R . axis-secondary.R . backports.R . bench.R . bin.R . compat-plyr.R . coord-.R . coord-cartesian-.R . coord-fixed.R . coord-flip.R . coord-map.R . coord-munch.R . coord-polar.R . coord-quickmap.R . coord-sf.R . coord-transform.R . data.R . facet-.R . facet-grid-.R . facet-null.R . facet-wrap.R . fortify-lm.R . fortify-map.R . fortify-multcomp.R . fortify-spatial.R . fortify.R . geom-.R . geom-abline.R . geom-bar.R . geom-bin2d.R . geom-blank.R . geom-boxplot.R . geom-col.R . geom-contour.R . geom-count.R . geom-crossbar.R . geom-curve.R . geom-defaults.R . geom-density.R . geom-density2d.R . geom-dotplot.R . geom-errorbar.R . geom-errorbarh.R . geom-freqpoly.R . geom-function.R . geom-hex.R . geom-histogram.R . geom-hline.R . geom-jitter.R . geom-label.R . geom-linerange.R . geom-map.R . geom-path.R . geom-point.R . geom-pointrange.R . geom-polygon.R . geom-quantile.R . geom-raster.R . geom-rect.R . geom-ribbon.R . geom-rug.R . geom-segment.R . geom-sf.R . geom-smooth.R . geom-spoke.R . geom-text.R . geom-tile.R . geom-violin.R . geom-vline.R . ggplot-global.R . ggplot2-package.R . ggproto.R . grob-absolute.R . grob-dotstack.R . grob-null.R . grouping.R . guide-bins.R . guide-colorbar.R . guide-colorsteps.R . guide-legend.R . guides-.R . guides-axis.R . guides-grid.R . guides-none.R . hexbin.R . import-standalone-obj-type.R . import-standalone-types-check.R . labeller.R . labels.R . layer-sf.R . layer.R . layout.R . legend-draw.R . limits.R . margins.R . performance.R . plot-build.R . plot-construction.R . plot-last.R . plot.R . position-.R . position-collide.R . position-dodge.R . position-dodge2.R . position-identity.R . position-jitter.R . position-jitterdodge.R . position-nudge.R . position-stack.R . quick-plot.R . reshape-add-margins.R . save.R . scale-.R . scale-alpha.R . scale-binned.R . scale-brewer.R . scale-colour.R . scale-continuous.R . scale-date.R . scale-discrete-.R . scale-expansion.R . scale-gradient.R . scale-grey.R . scale-hue.R . scale-identity.R . scale-linetype.R . scale-linewidth.R . scale-manual.R . scale-shape.R . scale-size.R . scale-steps.R . scale-type.R . scale-view.R . scale-viridis.R . scales-.R . stat-.R . stat-align.R . stat-bin.R . stat-bin2d.R . stat-bindot.R . stat-binhex.R . stat-boxplot.R . stat-contour.R . stat-count.R . stat-density-2d.R . stat-density.R . stat-ecdf.R . stat-ellipse.R . stat-function.R . stat-identity.R . stat-qq-line.R . stat-qq.R . stat-quantilemethods.R . stat-sf-coordinates.R . stat-sf.R . stat-smooth-methods.R . stat-smooth.R . stat-sum.R . stat-summary-2d.R . stat-summary-bin.R . stat-summary-hex.R . stat-summary.R . stat-unique.R . stat-ydensity.R . summarise-plot.R . summary.R . theme-current.R . theme-defaults.R . theme-elements.R . theme.R . utilities-break.R . utilities-checks.R . utilities-grid.R . utilities-help.R . utilities-matrix.R . utilities-resolution.R . utilities-table.R . utilities-tidy-eval.R . utilities.R . zxx.R . zzz.R .  Full ggplot2 package functions and examples
Downloads during the last 30 days
02/2402/2502/2602/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/25Downloads for ggplot2350004000045000500005500060000650007000075000TrendBars

Today's Hot Picks in Authors and Packages

DySS  
Dynamic Screening Systems
In practice, we will encounter problems where the longitudinal performance of processes needs to be ...
Download / Learn more Package Citations See dependency  
Maintainer: Lu You (view profile)
fPortfolio  
Rmetrics - Portfolio Selection and Optimization
A collection of functions to optimize portfolios and to analyze them from different points of view. ...
Download / Learn more Package Citations See dependency  
photobiologyPlants  
Plant Photobiology Related Functions and Data
Provides functions for quantifying visible (VIS) and ultraviolet (UV) radiation in relation to the ...
Download / Learn more Package Citations See dependency  
MGL  
Module Graphical Lasso
An aggressive dimensionality reduction and network estimationtechnique for a high-dimensiona ...
Download / Learn more Package Citations See dependency  
sAIC  
Akaike Information Criterion for Sparse Estimation
Computes the Akaike information criterion for the generalized linear models (logistic regression, Po ...
Download / Learn more Package Citations See dependency  
provenance  
Statistical Toolbox for Sedimentary Provenance Analysis
Bundles a number of established statistical methods to facilitate the visual interpretation of large ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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