Blog

We provide practical tutorials on data mining, visualization and statistics for decision making.

Version: Français

This article shows some R histogram examples. Demo data Weight data by sex: set.seed(1234) wdata = data.frame( sex = factor(rep(c("F", "M"), each=200)), weight = c(rnorm(200, 55), rnorm(200, 58)) ) head(wdata,

R Histogram Example Quick Reference

This article shows some R histogram examples. Demo data Weight data by sex: set.seed(1234) wdata = data.frame( sex = factor(rep(c("F", "M"), each=200)), weight = c(rnorm(200, 55), rnorm(200, 58)) ) head(wdata,

  Create Icon in R This article describes how to create icon in R with transparent background from a ggplot. Contents: Prerequisites Load ggplot2 and create a helper theme for

How to Create Icon in R

  Create Icon in R This article describes how to create icon in R with transparent background from a ggplot. Contents: Prerequisites Load ggplot2 and create a helper theme for

This article provides a gallery of ggplot examples, including: scatter plot, density plots and histograms, bar and line plots, error bars, box plots, violin plots and more. Contents: Prerequisites Scatter

GGPlot Examples Best Reference

This article provides a gallery of ggplot examples, including: scatter plot, density plots and histograms, bar and line plots, error bars, box plots, violin plots and more. Contents: Prerequisites Scatter

In this article, you will learn how to map variables in the data to visual properpeties of ggplot geoms (points, bars, box plot, etc). These visual caracteristics are known as

GGPlot AES: How to Assign Aesthetics in GGPlot2

In this article, you will learn how to map variables in the data to visual properpeties of ggplot geoms (points, bars, box plot, etc). These visual caracteristics are known as

In this article you will learn how to create a ggplot-like 3D scatter plot using the plotly R package. Contents: Prerequisites Basic 3D Scatter Plot 3D Scatter Plot with Color

How to Create a GGPlot-like 3D Scatter Plot using Plotly

In this article you will learn how to create a ggplot-like 3D scatter plot using the plotly R package. Contents: Prerequisites Basic 3D Scatter Plot 3D Scatter Plot with Color

In this article, you will learn how to save a ggplot to different file formats, including: PDF, SVG vector files, PNG, TIFF, JPEG, etc. You can either print directly a

How to Save a GGPlot

In this article, you will learn how to save a ggplot to different file formats, including: PDF, SVG vector files, PNG, TIFF, JPEG, etc. You can either print directly a

Introduction In this article, you will learn how to modify ggplot labels, including main title, subtitle, axis labels, caption, legend titles and tag. Plot title and subtitle provides insights into

How to Change GGPlot Labels: Title, Axis and Legend

Introduction In this article, you will learn how to modify ggplot labels, including main title, subtitle, axis labels, caption, legend titles and tag. Plot title and subtitle provides insights into

This article describes how to subset data when creating a ggplot. Prerequisites Load required packages and set the theme function theme_bw() as the default theme: library(ggplot2) theme_set(theme_bw()) Data preparation Data

How to Subset a Dataset When Plotting with GGPLOT2

This article describes how to subset data when creating a ggplot. Prerequisites Load required packages and set the theme function theme_bw() as the default theme: library(ggplot2) theme_set(theme_bw()) Data preparation Data

In this article, you will learn how to create a horizontal bar plot using the ggplot2 R package. Prerequisites Load required packages and set the theme function theme_bw() as the

How to Create a GGPlot Horizontal Bar Chart

In this article, you will learn how to create a horizontal bar plot using the ggplot2 R package. Prerequisites Load required packages and set the theme function theme_bw() as the